From 987108459321d7b400a9bc9ee1d1ba83189fc7df 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 4645f7d394e29e..ee2ea7453004b6 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 3f20371f51c248b03dfaeb4a6e3bdcf19fe4be7c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Mon, 29 Sep 2025 19:11:44 +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 ee2ea7453004b6..2e097b561c3a79 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.