Skip to content

Commit d8971c2

Browse files
miss-islingtonStanFromIrelandhugovk
authored
[3.13] gh-138843: Clean up downloads page (GH-138844) (#139797)
Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent fb89b30 commit d8971c2

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

Doc/tools/templates/download.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@ <h1>{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}</h1>
4242
</tr>
4343
<tr>
4444
<td>{% trans %}HTML{% endtrans %}</td>
45-
<td>{% trans download_size="13" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-html.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
46-
<td>{% trans download_size="8" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-html.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
45+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-html.zip">Download</a>{% endtrans %}</td>
46+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-html.tar.bz2">Download</a>{% endtrans %}</td>
4747
</tr>
4848
<tr>
4949
<td>{% trans %}Plain text{% endtrans %}</td>
50-
<td>{% trans download_size="4" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-text.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
51-
<td>{% trans download_size="3" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-text.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
50+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-text.zip">Download</a>{% endtrans %}</td>
51+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-text.tar.bz2">Download</a>{% endtrans %}</td>
5252
</tr>
5353
<tr>
5454
<td>{% trans %}Texinfo{% endtrans %}</td>
55-
<td>{% trans download_size="9" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
56-
<td>{% trans download_size="7" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
55+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.zip">Download</a>{% endtrans %}</td>
56+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.tar.bz2">Download</a>{% endtrans %}</td>
5757
</tr>
5858
<tr>
5959
<td>{% trans %}EPUB{% endtrans %}</td>
60-
<td>{% trans download_size="6" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs.epub">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
60+
<td>{% trans %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs.epub">Download</a>{% endtrans %}</td>
6161
<td></td>
6262
</tr>
6363
</table>
@@ -74,6 +74,9 @@ <h1>{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}</h1>
7474
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
7575
{% endtrans %}</p>
7676

77+
<p>{% trans %}
78+
See the <a href="https://docs.python.org/{{ version }}/archives/">directory listing</a>
79+
for file sizes.{% endtrans %}</p>
7780

7881
<h2>{% trans %}Unpacking{% endtrans %}</h2>
7982

@@ -86,9 +89,8 @@ <h2>{% trans %}Unpacking{% endtrans %}</h2>
8689
<p>{% trans %}Windows users can use the ZIP archives since those are customary on that
8790
platform. These are created on Unix using the Info-ZIP zip program.{% endtrans %}</p>
8891

89-
9092
<h2>{% trans %}Problems{% endtrans %}</h2>
91-
92-
<p>{% trans %}If you have comments or suggestions for the Python documentation, please send
93-
email to <a href="mailto:[email protected]">[email protected]</a>.{% endtrans %}</p>
93+
{% set bugs = pathto('bugs') %}
94+
<p>{% trans bugs = bugs %}<a href="{{ bugs }}">Open an issue</a>
95+
if you have comments or suggestions for the Python documentation.{% endtrans %}</p>
9496
{% endblock %}

0 commit comments

Comments
 (0)