From f5597dbd0e7938648bfd9244f4a9225825b36b2b Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:49:19 +0300 Subject: Docs: Drop letter PDF (#123912) --- Doc/Makefile | 10 ---------- Doc/tools/templates/download.html | 7 +------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile index 09fcd0d..505b895 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -222,16 +222,6 @@ dist: cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2 @echo "Build finished and archived!" - # archive the letter latex - @echo "Building LaTeX (US paper)..." - rm -rf build/latex - $(MAKE) latex PAPER=letter - -sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile - (cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2) - cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip - cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 - @echo "Build finished and archived!" - # copy the epub build @echo "Building EPUB..." rm -rf build/epub diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 9f99eea..f69adc7 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -25,12 +25,7 @@ Python in one of various formats, follow one of links in this table.{% endtrans {% trans %}Packed as .tar.bz2{% endtrans %} - {% trans %}PDF (US-Letter paper size){% endtrans %} - {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} - {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} - - - {% trans %}PDF (A4 paper size){% endtrans %} + {% trans %}PDF{% endtrans %} {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} {% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} -- cgit v0.12