Skip to content

Commit f9f8cb9

Browse files
[3.12] gh-139436: Remove link to the PDF downloads (GH-139142) (GH-139428)
(cherry picked from commit 6b5f156) Co-authored-by: Adam Turner <[email protected]>
1 parent aecbbee commit f9f8cb9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Doc/tools/templates/download.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ <h1>{% trans %}Download Python {{ dl_version }} Documentation{% endtrans %}</h1>
4040
<th>{% trans %}Packed as .zip{% endtrans %}</th>
4141
<th>{% trans %}Packed as .tar.bz2{% endtrans %}</th>
4242
</tr>
43-
<tr>
44-
<td>{% trans %}PDF{% endtrans %}</td>
45-
<td>{% trans download_size="17" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
46-
<td>{% trans download_size="17" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
47-
</tr>
4843
<tr>
4944
<td>{% trans %}HTML{% endtrans %}</td>
5045
<td>{% trans download_size="13" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-html.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
@@ -69,6 +64,16 @@ <h1>{% trans %}Download Python {{ dl_version }} Documentation{% endtrans %}</h1>
6964

7065
<p>{% trans %}These archives contain all the content in the documentation.{% endtrans %}</p>
7166

67+
<p>{% trans %}
68+
We no longer provide updates to the pre-built PDFs of the documentation.
69+
The previously-built archives are still available and may be of use:
70+
<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip">PDF (.zip archive)</a>;
71+
<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.tar.bz2">PDF (.tar.bz2 archive)</a>.
72+
To build a PDF archive, follow the instructions in the
73+
<a href="https://devguide.python.org/documentation/start-documenting/#building-the-documentation">Developer's Guide</a>
74+
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
75+
{% endtrans %}</p>
76+
7277

7378
<h2>{% trans %}Unpacking{% endtrans %}</h2>
7479

0 commit comments

Comments
 (0)