https://github.com/python/cpython/commit/f5597dbd0e7938648bfd9244f4a9225825b36b2b
commit: f5597dbd0e7938648bfd9244f4a9225825b36b2b
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2024-09-12T13:49:19+03:00
summary:
Docs: Drop letter PDF (#123912)
files:
M Doc/Makefile
M Doc/tools/templates/download.html
diff --git a/Doc/Makefile b/Doc/Makefile
index 09fcd0d8291daf..505b8953b50b32 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]