mirror of https://github.com/python/cpython
Docs: Drop letter PDF (#123912)
This commit is contained in:
parent
77c68b40d5
commit
f5597dbd0e
10
Doc/Makefile
10
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
|
||||
|
|
|
@ -25,12 +25,7 @@ Python in one of various formats, follow one of links in this table.{% endtrans
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue