From 44a6e0ee987fc7d018b884d8414899310d7cd852 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Mon, 29 Sep 2025 18:59:25 +0100 Subject: [PATCH 1/2] Remove link to the PDF downloads (GH-139142) (cherry picked from commit 6b5f15698a436591f7c305c576a2d366c38d9997) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/tools/templates/download.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 47a57eb111ba50..26fc9571d17423 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -40,11 +40,6 @@

{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}

{% trans %}Packed as .zip{% endtrans %} {% trans %}Packed as .tar.bz2{% endtrans %} - - {% trans %}PDF{% endtrans %} - {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} - {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} - {% trans %}HTML{% endtrans %} {% trans download_size="13" %}Download (ca. {{ download_size }} MiB){% endtrans %} @@ -69,6 +64,13 @@

{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}

{% trans %}These archives contain all the content in the documentation.{% endtrans %}

+

{% trans %} +We no longer provide pre-built PDFs of the documentation. +To build a PDF archive, follow the instructions in the +Developer's Guide +and run make dist-pdf in the Doc/ directory of a copy of the CPython repository. +{% endtrans %}

+

{% trans %}Unpacking{% endtrans %}

From 87267a4161688b155de309901358a252d549e0b9 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Mon, 29 Sep 2025 19:10:51 +0100 Subject: [PATCH 2/2] Link to the existing archives --- Doc/tools/templates/download.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 26fc9571d17423..3361aa199b36ea 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -65,7 +65,10 @@

{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}

{% trans %}These archives contain all the content in the documentation.{% endtrans %}

{% trans %} -We no longer provide pre-built PDFs of the documentation. +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: +PDF (.zip archive); +PDF (.tar.bz2 archive). To build a PDF archive, follow the instructions in the Developer's Guide and run make dist-pdf in the Doc/ directory of a copy of the CPython repository.