Debian Codegraph @

doc/Makefile

raw symbols SCIP
1 # Makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS =
6 SPHINXBUILD = sphinx-build
7 PAPER =
8
9 # Internal variables.
10 PAPEROPT_a4 = -D latex_paper_size=a4
11 PAPEROPT_letter = -D latex_paper_size=letter
12 ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
13
14 .PHONY: help clean html web pickle htmlhelp latex changes linkcheck
15
16 help:
17 @echo "Please use \`make <target>' where <target> is one of"
18 @echo " html to make standalone HTML files"
19 @echo " pickle to make pickle files"
20 @echo " json to make JSON files"
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"
25 @echo " doctest to run doctest"
26
27 clean:
28 -rm -rf _build/*
29
30 html:
31 mkdir -p _build/html _build/doctrees _static
32 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
33 @echo
34 @echo "Build finished. The HTML pages are in _build/html."
35 python add_counter.py
36
37 pickle:
38 mkdir -p _build/pickle _build/doctrees
39 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle
40 @echo
41 @echo "Build finished; now you can process the pickle files."
42
43 web: pickle
44
45 json:
46 mkdir -p _build/json _build/doctrees
47 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) _build/json
48 @echo
49 @echo "Build finished; now you can process the JSON files."
50
51 htmlhelp:
52 mkdir -p _build/htmlhelp _build/doctrees
53 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
54 @echo
55 @echo "Build finished; now you can run HTML Help Workshop with the" \
56 ".hhp project file in _build/htmlhelp."
57
58 latex:
59 mkdir -p _build/latex _build/doctrees
60 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
61 @echo
62 @echo "Build finished; the LaTeX files are in _build/latex."
63 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
64 "run these through (pdf)latex."
65
66 changes:
67 mkdir -p _build/changes _build/doctrees
68 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
69 @echo
70 @echo "The overview file is in _build/changes."
71
72 linkcheck:
73 mkdir -p _build/linkcheck _build/doctrees
74 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
75 @echo
76 @echo "Link check complete; look for any errors in the above output " \
77 "or in _build/linkcheck/output.txt."
78
79 doctest:
80 mkdir -p _build/doctest _build/doctrees
81 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
82 @echo
83 @echo "Doctest; look for any errors in the above output " \
84 "or in _build/doctest/output.txt."