https://github.com/python/cpython/commit/f3c1f3d5ff4aa1c156859ecea8d7b745fb3770b1
commit: f3c1f3d5ff4aa1c156859ecea8d7b745fb3770b1
branch: 3.12
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: hugovk <1324225+hug...@users.noreply.github.com>
date: 2024-09-16T16:08:02+03:00
summary:

[3.12] Docs: Drop letter PDF (GH-123912) (#123999)

Co-authored-by: Hugo van Kemenade <1324225+hug...@users.noreply.github.com>

files:
M Doc/Makefile
M Doc/tools/templates/download.html

diff --git a/Doc/Makefile b/Doc/Makefile
index dbd799fd4006fb..4a515d5a92a0b6 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 9f99eea6f3c773..f69adc71f937c4 100644
--- a/Doc/tools/templates/download.html
+++ b/Doc/tools/templates/download.html
@@ -25,12 +25,7 @@ <h1>{% trans %}Download Python {{ release }} Documentation{% 
endtrans %}</h1>
     <th>{% trans %}Packed as .tar.bz2{% endtrans %}</th>
   </tr>
   <tr>
-    <td>{% trans %}PDF (US-Letter paper size){% endtrans %}</td>
-    <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans 
%}</td>
-    <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-letter.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% 
endtrans %}</td>
-  </tr>
-  <tr>
-    <td>{% trans %}PDF (A4 paper size){% endtrans %}</td>
+    <td>{% trans %}PDF{% endtrans %}</td>
     <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans 
%}</td>
     <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release 
}}-docs-pdf-a4.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans 
%}</td>
   </tr>

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to