diff -r 1c54def5947c Doc/Makefile --- a/Doc/Makefile Mon Nov 05 00:55:06 2012 +0100 +++ b/Doc/Makefile Mon Nov 05 13:26:02 2012 +0100 @@ -26,6 +26,7 @@ @echo " htmlhelp to make HTML files and a HTML help project" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " text to make plain text files" + @echo " epub to make EPUB files" @echo " changes to make an overview over all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " coverage to check documentation coverage for library and C API" @@ -81,6 +82,10 @@ text: build @echo "Build finished; the text files are in build/text." +epub: BUILDER = epub +epub: build + @echo "Build finished; the epub files are in build/epub." + changes: BUILDER = changes changes: build @echo "The overview file is in build/changes." @@ -158,6 +163,17 @@ 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 + # archive the epub build + rm -rf build/epub + make epub + mkdir -p dist/python-$(DISTVERSION)-docs-epub + cp -pPR build/epub/*.epub dist/python-$(DISTVERSION)-docs-epub/ + tar -C dist -cf dist/python-$(DISTVERSION)-docs-epub.tar python-$(DISTVERSION)-docs-epub + bzip2 -9 -k dist/python-$(DISTVERSION)-docs-epub.tar + (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-epub.zip python-$(DISTVERSION)-docs-epub) + rm -r dist/python-$(DISTVERSION)-docs-epub + rm dist/python-$(DISTVERSION)-docs-epub.tar + check: $(PYTHON) tools/rstlint.py -i tools diff -r 1c54def5947c Doc/README.txt --- a/Doc/README.txt Mon Nov 05 00:55:06 2012 +0100 +++ b/Doc/README.txt Mon Nov 05 13:26:02 2012 +0100 @@ -49,6 +49,9 @@ * "text", which builds a plain text file for each source file. + * "epub", which builds an EPUB document, suitable to be viewed on e-book + readers. + * "linkcheck", which checks all external references to see whether they are broken, redirected or malformed, and outputs this information to stdout as well as a plain-text (.txt) file. diff -r 1c54def5947c Doc/tools/sphinxext/download.html --- a/Doc/tools/sphinxext/download.html Mon Nov 05 00:55:06 2012 +0100 +++ b/Doc/tools/sphinxext/download.html Mon Nov 05 13:26:02 2012 +0100 @@ -33,6 +33,10 @@ Download (ca. 2 MB) Download (ca. 1.5 MB) + EPUB + Download (ca. 3.6 MB) + Download (ca. 3.6 MB) +

These archives contain all the content in the documentation.