]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-139436: Remove link to the PDF downloads (GH-139142) (GH-139428)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 11:48:45 +0000 (13:48 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 11:48:45 +0000 (13:48 +0200)
(cherry picked from commit 6b5f15698a436591f7c305c576a2d366c38d9997)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/tools/templates/download.html

index 4645f7d394e29e6d4e8482454197e170aa6bb1a5..2e097b561c3a790caaec5c5e93ec5c8e4b00235a 100644 (file)
@@ -40,11 +40,6 @@ Python in one of various formats, follow one of links in this table.{% endtrans
     <th>{% trans %}Packed as .zip{% endtrans %}</th>
     <th>{% trans %}Packed as .tar.bz2{% endtrans %}</th>
   </tr>
-  <tr>
-    <td>{% trans %}PDF{% endtrans %}</td>
-    <td>{% trans download_size="17" %}<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
-    <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>
-  </tr>
   <tr>
     <td>{% trans %}HTML{% endtrans %}</td>
     <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 @@ Python in one of various formats, follow one of links in this table.{% endtrans
 
 <p>{% trans %}These archives contain all the content in the documentation.{% endtrans %}</p>
 
+<p>{% trans %}
+We no longer provide updates to the pre-built PDFs of the documentation.
+The previously-built archives are still available and may be of use:
+<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip">PDF (.zip archive)</a>;
+<a href="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.tar.bz2">PDF (.tar.bz2 archive)</a>.
+To build a PDF archive, follow the instructions in the
+<a href="https://devguide.python.org/documentation/start-documenting/#building-the-documentation">Developer's Guide</a>
+and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
+{% endtrans %}</p>
+
 
 <h2>{% trans %}Unpacking{% endtrans %}</h2>