Skip to content
Myr

Makefile

This file

Path

docs/Makefile

75 lines · 2.3 KiB

Last changed by

Added non-babel output mode to extract_from_ast, integreated jinja2 doctests directly into the py.test suite (ugh, that's an ugly hack)Armin Ronacherbefore adoptionabd3657

History of this file

Take it

The walk stopped after 200 commits: lines older than 374a05d point at it.

added intro text to doc indexArmin Ronacherbefore adoption374a05d

lines 1–18why, one step back
1# Makefile for Sphinx documentation
2#34# You can set these variables from the command line.5SPHINXOPTS =6SPHINXBUILD = sphinx-build7PAPER =89# Internal variables.10PAPEROPT_a4 = -D latex_paper_size=a411PAPEROPT_letter = -D latex_paper_size=letter12ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .1314.PHONY: help clean html web pickle htmlhelp latex changes linkcheck1516help:17 @echo "Please use \`make <target>' where <target> is one of"18 @echo " html to make standalone HTML files"

Added non-babel output mode to extract_from_ast, integreated jinja2 doctests directly into the py.test suite (ugh, that's an ugly hack)Armin Ronacherbefore adoptionabd3657

lines 19–20why, one step back
19 @echo " pickle to make pickle files"
20 @echo " json to make JSON files"

added intro text to doc indexArmin Ronacherbefore adoption374a05d

lines 21–38why, one step back
21 @echo " htmlhelp to make HTML files and a HTML help project"
22 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"23 @echo " changes to make an overview over all changed/added/deprecated items"24 @echo " linkcheck to check all external links for integrity"2526clean:27 -rm -rf _build/*2829html:30 mkdir -p _build/html _build/doctrees31 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html32 @echo33 @echo "Build finished. The HTML pages are in _build/html."3435pickle:36 mkdir -p _build/pickle _build/doctrees37 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle38 @echo

Added non-babel output mode to extract_from_ast, integreated jinja2 doctests directly into the py.test suite (ugh, that's an ugly hack)Armin Ronacherbefore adoptionabd3657

lines 39–45why, one step back
39 @echo "Build finished; now you can process the pickle files"
4041json:42 mkdir -p _build/json _build/doctrees43 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) _build/json44 @echo45 @echo "Build finished; now you can process the json files"

added intro text to doc indexArmin Ronacherbefore adoption374a05d

lines 46–75why, one step back
46
47web: pickle4849htmlhelp:50 mkdir -p _build/htmlhelp _build/doctrees51 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp52 @echo53 @echo "Build finished; now you can run HTML Help Workshop with the" \54 ".hhp project file in _build/htmlhelp."5556latex:57 mkdir -p _build/latex _build/doctrees58 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex59 @echo60 @echo "Build finished; the LaTeX files are in _build/latex."61 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \62 "run these through (pdf)latex."6364changes:65 mkdir -p _build/changes _build/doctrees66 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes67 @echo68 @echo "The overview file is in _build/changes."6970linkcheck:71 mkdir -p _build/linkcheck _build/doctrees72 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck73 @echo74 @echo "Link check complete; look for any errors in the above output " \75 "or in _build/linkcheck/output.txt."