3
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
1 @ECHO OFF
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
2
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
3 REM Command file for Sphinx documentation
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
4
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
5 if "%SPHINXBUILD%" == "" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
6 set SPHINXBUILD=sphinx-build
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
7 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
8 set BUILDDIR=_build
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
9 set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
10 set I18NSPHINXOPTS=%SPHINXOPTS% .
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
11 if NOT "%PAPER%" == "" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
12 set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
13 set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
14 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
15
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
16 if "%1" == "" goto help
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
17
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
18 if "%1" == "help" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
19 :help
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
20 echo.Please use `make ^<target^>` where ^<target^> is one of
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
21 echo. html to make standalone HTML files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
22 echo. dirhtml to make HTML files named index.html in directories
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
23 echo. singlehtml to make a single large HTML file
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
24 echo. pickle to make pickle files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
25 echo. json to make JSON files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
26 echo. htmlhelp to make HTML files and a HTML help project
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
27 echo. qthelp to make HTML files and a qthelp project
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
28 echo. devhelp to make HTML files and a Devhelp project
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
29 echo. epub to make an epub
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
30 echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
31 echo. text to make text files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
32 echo. man to make manual pages
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
33 echo. texinfo to make Texinfo files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
34 echo. gettext to make PO message catalogs
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
35 echo. changes to make an overview over all changed/added/deprecated items
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
36 echo. xml to make Docutils-native XML files
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
37 echo. pseudoxml to make pseudoxml-XML files for display purposes
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
38 echo. linkcheck to check all external links for integrity
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
39 echo. doctest to run all doctests embedded in the documentation if enabled
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
40 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
41 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
42
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
43 if "%1" == "clean" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
44 for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
45 del /q /s %BUILDDIR%\*
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
46 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
47 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
48
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
49
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
50 %SPHINXBUILD% 2> nul
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
51 if errorlevel 9009 (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
52 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
53 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
54 echo.installed, then set the SPHINXBUILD environment variable to point
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
55 echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
56 echo.may add the Sphinx directory to PATH.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
57 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
58 echo.If you don't have Sphinx installed, grab it from
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
59 echo.http://sphinx-doc.org/
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
60 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
61 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
62
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
63 if "%1" == "html" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
64 %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
65 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
66 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
67 echo.Build finished. The HTML pages are in %BUILDDIR%/html.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
68 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
69 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
70
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
71 if "%1" == "dirhtml" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
72 %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
73 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
74 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
75 echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
76 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
77 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
78
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
79 if "%1" == "singlehtml" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
80 %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
81 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
82 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
83 echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
84 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
85 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
86
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
87 if "%1" == "pickle" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
88 %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
89 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
90 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
91 echo.Build finished; now you can process the pickle files.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
92 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
93 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
94
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
95 if "%1" == "json" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
96 %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
97 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
98 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
99 echo.Build finished; now you can process the JSON files.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
100 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
101 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
102
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
103 if "%1" == "htmlhelp" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
104 %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
105 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
106 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
107 echo.Build finished; now you can run HTML Help Workshop with the ^
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
108 .hhp project file in %BUILDDIR%/htmlhelp.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
109 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
110 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
111
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
112 if "%1" == "qthelp" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
113 %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
114 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
115 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
116 echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
117 .qhcp project file in %BUILDDIR%/qthelp, like this:
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
118 echo.^> qcollectiongenerator %BUILDDIR%\qthelp\riboplot.qhcp
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
119 echo.To view the help file:
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
120 echo.^> assistant -collectionFile %BUILDDIR%\qthelp\riboplot.ghc
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
121 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
122 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
123
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
124 if "%1" == "devhelp" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
125 %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
126 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
127 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
128 echo.Build finished.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
129 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
130 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
131
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
132 if "%1" == "epub" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
133 %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
134 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
135 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
136 echo.Build finished. The epub file is in %BUILDDIR%/epub.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
137 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
138 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
139
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
140 if "%1" == "latex" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
141 %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
142 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
143 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
144 echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
145 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
146 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
147
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
148 if "%1" == "latexpdf" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
149 %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
150 cd %BUILDDIR%/latex
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
151 make all-pdf
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
152 cd %BUILDDIR%/..
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
153 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
154 echo.Build finished; the PDF files are in %BUILDDIR%/latex.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
155 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
156 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
157
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
158 if "%1" == "latexpdfja" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
159 %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
160 cd %BUILDDIR%/latex
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
161 make all-pdf-ja
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
162 cd %BUILDDIR%/..
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
163 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
164 echo.Build finished; the PDF files are in %BUILDDIR%/latex.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
165 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
166 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
167
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
168 if "%1" == "text" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
169 %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
170 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
171 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
172 echo.Build finished. The text files are in %BUILDDIR%/text.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
173 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
174 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
175
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
176 if "%1" == "man" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
177 %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
178 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
179 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
180 echo.Build finished. The manual pages are in %BUILDDIR%/man.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
181 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
182 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
183
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
184 if "%1" == "texinfo" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
185 %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
186 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
187 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
188 echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
189 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
190 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
191
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
192 if "%1" == "gettext" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
193 %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
194 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
195 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
196 echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
197 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
198 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
199
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
200 if "%1" == "changes" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
201 %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
202 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
203 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
204 echo.The overview file is in %BUILDDIR%/changes.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
205 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
206 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
207
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
208 if "%1" == "linkcheck" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
209 %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
210 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
211 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
212 echo.Link check complete; look for any errors in the above output ^
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
213 or in %BUILDDIR%/linkcheck/output.txt.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
214 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
215 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
216
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
217 if "%1" == "doctest" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
218 %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
219 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
220 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
221 echo.Testing of doctests in the sources finished, look at the ^
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
222 results in %BUILDDIR%/doctest/output.txt.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
223 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
224 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
225
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
226 if "%1" == "xml" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
227 %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
228 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
229 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
230 echo.Build finished. The XML files are in %BUILDDIR%/xml.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
231 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
232 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
233
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
234 if "%1" == "pseudoxml" (
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
235 %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
236 if errorlevel 1 exit /b 1
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
237 echo.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
238 echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
239 goto end
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
240 )
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
241
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
242 :end |