Skip to content

Commit a15ed56

Browse files
miss-islingtonWulian233hugovk
authored
[3.12] gh-121453: Update the Doc/templates/download.html download files size estimates and support download .texi format. (GH-121454) (#121891)
Co-authored-by: Wulian233 <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 7057d5e commit a15ed56

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Doc/tools/templates/download.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,27 @@ <h1>Download Python {{ release }} Documentation</h1>
2121
<table class="docutils">
2222
<tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr>
2323
<tr><td>PDF (US-Letter paper size)</td>
24-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 13 MiB)</td>
25-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 13 MiB)</td>
24+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 17 MiB)</td>
25+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 17 MiB)</td>
2626
</tr>
2727
<tr><td>PDF (A4 paper size)</td>
28-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 13 MiB)</td>
29-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 13 MiB)</td>
28+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 17 MiB)</td>
29+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 17 MiB)</td>
3030
</tr>
3131
<tr><td>HTML</td>
32-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 9 MiB)</td>
33-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 6 MiB)</td>
32+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 13 MiB)</td>
33+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 8 MiB)</td>
3434
</tr>
35-
<tr><td>Plain Text</td>
36-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. 3 MiB)</td>
37-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. 2 MiB)</td>
35+
<tr><td>Plain text</td>
36+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. 4 MiB)</td>
37+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. 3 MiB)</td>
3838
</tr>
39+
<tr><td>Texinfo</td>
40+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.zip">Download</a> (ca. 9 MiB)</td>
41+
<td><a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.tar.bz2">Download</a> (ca. 7 MiB)</td>
42+
</tr>
3943
<tr><td>EPUB</td>
40-
<td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> (ca. 5 MiB)</td>
44+
<td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> (ca. 6 MiB)</td>
4145
<td></td>
4246
</tr>
4347
</table>

0 commit comments

Comments
 (0)