annotate docs/make.bat @ 837:bdebe693453f pyntnclick

Track total sentence
author Neil Muller <neil@dip.sun.ac.za>
date Tue, 29 Jan 2013 21:45:27 +0200
parents 3794e7f4093e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
1 @ECHO OFF
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
2
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
3 REM Command file for Sphinx documentation
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
4
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
5 if "%SPHINXBUILD%" == "" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
6 set SPHINXBUILD=sphinx-build
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
7 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
8 set BUILDDIR=_build
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
9 set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
10 if NOT "%PAPER%" == "" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
11 set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
12 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
13
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
14 if "%1" == "" goto help
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
15
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
16 if "%1" == "help" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
17 :help
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
18 echo.Please use `make ^<target^>` where ^<target^> is one of
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
19 echo. html to make standalone HTML files
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
20 echo. dirhtml to make HTML files named index.html in directories
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
21 echo. singlehtml to make a single large HTML file
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
22 echo. pickle to make pickle files
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
23 echo. json to make JSON files
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
24 echo. htmlhelp to make HTML files and a HTML help project
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
25 echo. qthelp to make HTML files and a qthelp project
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
26 echo. devhelp to make HTML files and a Devhelp project
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
27 echo. epub to make an epub
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
28 echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
29 echo. text to make text files
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
30 echo. man to make manual pages
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
31 echo. changes to make an overview over all changed/added/deprecated items
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
32 echo. linkcheck to check all external links for integrity
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
33 echo. doctest to run all doctests embedded in the documentation if enabled
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
34 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
35 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
36
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
37 if "%1" == "clean" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
38 for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
39 del /q /s %BUILDDIR%\*
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
40 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
41 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
42
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
43 if "%1" == "html" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
44 %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
45 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
46 echo.Build finished. The HTML pages are in %BUILDDIR%/html.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
47 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
48 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
49
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
50 if "%1" == "dirhtml" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
51 %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
52 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
53 echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
54 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
55 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
56
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
57 if "%1" == "singlehtml" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
58 %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
59 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
60 echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
61 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
62 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
63
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
64 if "%1" == "pickle" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
65 %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
66 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
67 echo.Build finished; now you can process the pickle files.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
68 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
69 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
70
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
71 if "%1" == "json" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
72 %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
73 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
74 echo.Build finished; now you can process the JSON files.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
75 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
76 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
77
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
78 if "%1" == "htmlhelp" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
79 %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
80 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
81 echo.Build finished; now you can run HTML Help Workshop with the ^
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
82 .hhp project file in %BUILDDIR%/htmlhelp.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
83 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
84 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
85
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
86 if "%1" == "qthelp" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
87 %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
88 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
89 echo.Build finished; now you can run "qcollectiongenerator" with the ^
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
90 .qhcp project file in %BUILDDIR%/qthelp, like this:
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
91 echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Boomslang.qhcp
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
92 echo.To view the help file:
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
93 echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Boomslang.ghc
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
94 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
95 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
96
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
97 if "%1" == "devhelp" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
98 %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
99 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
100 echo.Build finished.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
101 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
102 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
103
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
104 if "%1" == "epub" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
105 %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
106 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
107 echo.Build finished. The epub file is in %BUILDDIR%/epub.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
108 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
109 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
110
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
111 if "%1" == "latex" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
112 %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
113 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
114 echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
115 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
116 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
117
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
118 if "%1" == "text" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
119 %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
120 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
121 echo.Build finished. The text files are in %BUILDDIR%/text.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
122 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
123 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
124
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
125 if "%1" == "man" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
126 %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
127 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
128 echo.Build finished. The manual pages are in %BUILDDIR%/man.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
129 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
130 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
131
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
132 if "%1" == "changes" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
133 %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
134 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
135 echo.The overview file is in %BUILDDIR%/changes.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
136 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
137 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
138
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
139 if "%1" == "linkcheck" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
140 %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
141 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
142 echo.Link check complete; look for any errors in the above output ^
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
143 or in %BUILDDIR%/linkcheck/output.txt.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
144 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
145 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
146
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
147 if "%1" == "doctest" (
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
148 %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
149 echo.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
150 echo.Testing of doctests in the sources finished, look at the ^
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
151 results in %BUILDDIR%/doctest/output.txt.
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
152 goto end
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
153 )
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
154
3794e7f4093e Add sphinx-based documentation (for walkthrough, artist help, etc).
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
155 :end