Skip to content

Commit 80262ff

Browse files
committed
[3.10] Remove link to the PDF downloads (pythonGH-139142)
(cherry picked from commit 6b5f156) Co-authored-by: Adam Turner <[email protected]>
1 parent 91af026 commit 80262ff

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Doc/tools/templates/download.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ <h1>Download Python {{ release }} Documentation</h1>
2020

2121
<table class="docutils">
2222
<tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr>
23-
<tr><td>PDF (US-Letter paper size)</td>
24-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 13 MiB)</td>
25-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 13 MiB)</td>
26-
</tr>
27-
<tr><td>PDF (A4 paper size)</td>
28-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 13 MiB)</td>
29-
<td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 13 MiB)</td>
30-
</tr>
3123
<tr><td>HTML</td>
3224
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 9 MiB)</td>
3325
<td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 6 MiB)</td>
@@ -48,6 +40,19 @@ <h1>Download Python {{ release }} Documentation</h1>
4840
on the <a href="https://www.python.org/downloads/release/python-{{ release.replace('.', '') }}/">Python
4941
download page</a>.</p>
5042

43+
<p>
44+
We no longer provide updates to the pre-built PDFs of the documentation.
45+
The previously-built archives are still available and may be of use:
46+
<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">A4 PDF (.zip archive)</a>;
47+
<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">A4 PDF (.tar.bz2 archive)</a>;
48+
<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">US Letter PDF (.zip archive)</a>;
49+
<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">US Letter PDF (.tar.bz2 archive)</a>.
50+
To build a PDF archive, follow the instructions in the
51+
<a href="https://devguide.python.org/documentation/start-documenting/#building-the-documentation">Developer's Guide</a>
52+
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
53+
</p>
54+
55+
5156

5257
<h2>Unpacking</h2>
5358

0 commit comments

Comments
 (0)