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

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

index 47a57eb111ba50d4d829cb07ca8e852f602997f5..3361aa199b36ea288e5008758fcb531bb8d272fa 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>