Skip to content

Commit 622f37f

Browse files
[3.14] Remove link to the PDF downloads (GH-139142) (#139426)
Remove link to the PDF downloads (GH-139142) (cherry picked from commit 6b5f156) Co-authored-by: Adam Turner <[email protected]>
1 parent 4372a05 commit 622f37f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Doc/tools/templates/download.html

Lines changed: 7 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,13 @@ <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 pre-built PDFs of the documentation.
69+
To build a PDF archive, follow the instructions in the
70+
<a href="https://devguide.python.org/documentation/start-documenting/#building-the-documentation">Developer's Guide</a>
71+
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
72+
{% endtrans %}</p>
73+
7274

7375
<h2>{% trans %}Unpacking{% endtrans %}</h2>
7476

0 commit comments

Comments
 (0)