Skip to content

Commit 355dc72

Browse files
[3.13] Docs: Drop letter PDF (GH-123912) (#123998)
Docs: Drop letter PDF (GH-123912) (cherry picked from commit f5597db) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 0f9c567 commit 355dc72

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

Doc/Makefile

-10
Original file line numberDiff line numberDiff line change
@@ -222,16 +222,6 @@ dist:
222222
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
223223
@echo "Build finished and archived!"
224224

225-
# archive the letter latex
226-
@echo "Building LaTeX (US paper)..."
227-
rm -rf build/latex
228-
$(MAKE) latex PAPER=letter
229-
-sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile
230-
(cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2)
231-
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
232-
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
233-
@echo "Build finished and archived!"
234-
235225
# copy the epub build
236226
@echo "Building EPUB..."
237227
rm -rf build/epub

Doc/tools/templates/download.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@ <h1>{% trans %}Download Python {{ release }} Documentation{% endtrans %}</h1>
2525
<th>{% trans %}Packed as .tar.bz2{% endtrans %}</th>
2626
</tr>
2727
<tr>
28-
<td>{% trans %}PDF (US-Letter paper size){% endtrans %}</td>
29-
<td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
30-
<td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
31-
</tr>
32-
<tr>
33-
<td>{% trans %}PDF (A4 paper size){% endtrans %}</td>
28+
<td>{% trans %}PDF{% endtrans %}</td>
3429
<td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
3530
<td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td>
3631
</tr>

0 commit comments

Comments
 (0)