Skip to content

Commit d9cb191

Browse files
gh-138843: Clean up downloads page (#138844)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 72e370c commit d9cb191

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>
@@ -71,6 +71,9 @@ <h1>{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}</h1>
7171
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
7272
{% endtrans %}</p>
7373

74+
<p>{% trans %}
75+
See the <a href="https://docs.python.org/{{ version }}/archives/">directory listing</a>
76+
for file sizes.{% endtrans %}</p>
7477

7578
<h2>{% trans %}Unpacking{% endtrans %}</h2>
7679

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

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

0 commit comments

Comments
 (0)