https://github.com/python/cpython/commit/37611171af4dffbd139e0393873479ed973e9585
commit: 37611171af4dffbd139e0393873479ed973e9585
branch: main
author: Wulian233 <[email protected]>
committer: hugovk <[email protected]>
date: 2024-07-17T00:20:55-06:00
summary:

gh-121453: Update the `Doc/templates/download.html` download files size 
estimates and support download `.texi` format. (#121454)

Co-authored-by: Hugo van Kemenade <[email protected]>

files:
M Doc/tools/templates/download.html

diff --git a/Doc/tools/templates/download.html 
b/Doc/tools/templates/download.html
index b5353d6fb77ab4..c3114e584fa942 100644
--- a/Doc/tools/templates/download.html
+++ b/Doc/tools/templates/download.html
@@ -21,23 +21,27 @@ <h1>Download Python {{ release }} Documentation</h1>
 <table class="docutils">
   <tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr>
   <tr><td>PDF (US-Letter paper size)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.zip">Download</a> (ca. 13 MiB)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.tar.bz2">Download</a> (ca. 13 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.zip">Download</a> (ca. 17 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.tar.bz2">Download</a> (ca. 17 MiB)</td>
   </tr>
   <tr><td>PDF (A4 paper size)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.zip">Download</a> (ca. 13 MiB)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.tar.bz2">Download</a> (ca. 13 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.zip">Download</a> (ca. 17 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.tar.bz2">Download</a> (ca. 17 MiB)</td>
   </tr>
   <tr><td>HTML</td>
-    <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> 
(ca. 9 MiB)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-html.tar.bz2">Download</a> (ca. 6 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> 
(ca. 13 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-html.tar.bz2">Download</a> (ca. 8 MiB)</td>
   </tr>
-  <tr><td>Plain Text</td>
-    <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> 
(ca. 3 MiB)</td>
-    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-text.tar.bz2">Download</a> (ca. 2 MiB)</td>
+  <tr><td>Plain text</td>
+    <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> 
(ca. 4 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-text.tar.bz2">Download</a> (ca. 3 MiB)</td>
   </tr>
+  <tr><td>Texinfo</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-texinfo.zip">Download</a> (ca. 9 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release 
}}-docs-texinfo.tar.bz2">Download</a> (ca. 7 MiB)</td>
+ </tr>
  <tr><td>EPUB</td>
-    <td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> 
(ca. 5 MiB)</td>
+    <td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> 
(ca. 6 MiB)</td>
     <td></td>
   </tr>
 </table>

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to