Skip to content

Commit 0a8ba6f

Browse files
committed
Remove link to the PDF downloads (python#139142)
(cherry picked from commit 6b5f156)
1 parent 6cb1649 commit 0a8ba6f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Doc/tools/templates/download.html

Lines changed: 7 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>
@@ -44,6 +36,13 @@ <h1>Download Python {{ release }} Documentation</h1>
4436

4537
<p>These archives contain all the content in the documentation.</p>
4638

39+
<p>{% trans %}
40+
We no longer provide pre-built PDFs of the documentation.
41+
To build a PDF archive, follow the instructions in the
42+
<a href="https://devguide.python.org/documentation/start-documenting/#building-the-documentation">Developer's Guide</a>
43+
and run <code>make dist-pdf</code> in the <code>Doc/</code> directory of a copy of the CPython repository.
44+
{% endtrans %}</p>
45+
4746

4847
<h2>Unpacking</h2>
4948

0 commit comments

Comments
 (0)