https://github.com/python/cpython/commit/cb4b09a2e1cba32ddc016feb251d10c4519e2e5f
commit: cb4b09a2e1cba32ddc016feb251d10c4519e2e5f
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2025-10-07T13:34:51+02:00
summary:

[3.13] gh-139436: Remove link to the PDF downloads (GH-139142) (#139427)

(cherry picked from commit 6b5f15698a436591f7c305c576a2d366c38d9997)

Co-authored-by: Adam Turner <[email protected]>

files:
M Doc/tools/templates/download.html

diff --git a/Doc/tools/templates/download.html 
b/Doc/tools/templates/download.html
index 47a57eb111ba50..3361aa199b36ea 100644
--- a/Doc/tools/templates/download.html
+++ b/Doc/tools/templates/download.html
@@ -40,11 +40,6 @@ <h1>{% trans %}Download Python {{ dl_version }} 
documentation{% endtrans %}</h1>
     <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 @@ <h1>{% trans %}Download Python {{ dl_version }} 
documentation{% endtrans %}</h1>
 
 <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>
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to