author | Edouard Tisserant |
Wed, 12 Aug 2020 13:36:18 +0200 | |
branch | svghmi |
changeset 3023 | 407a0205405a |
parent 810 | 707e2be17a43 |
permissions | -rw-r--r-- |
810
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
1 |
@ECHO OFF |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
2 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
3 |
REM Command file for Sphinx documentation |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
4 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
5 |
if "%SPHINXBUILD%" == "" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
6 |
set SPHINXBUILD=sphinx-build |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
7 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
8 |
set BUILDDIR=_build |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
9 |
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
10 |
set I18NSPHINXOPTS=%SPHINXOPTS% . |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
11 |
if NOT "%PAPER%" == "" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
12 |
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
13 |
set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
14 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
15 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
16 |
if "%1" == "" goto help |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
17 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
18 |
if "%1" == "help" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
19 |
:help |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
20 |
echo.Please use `make ^<target^>` where ^<target^> is one of |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
21 |
echo. html to make standalone HTML files |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
22 |
echo. dirhtml to make HTML files named index.html in directories |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
23 |
echo. singlehtml to make a single large HTML file |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
24 |
echo. pickle to make pickle files |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
25 |
echo. json to make JSON files |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
26 |
echo. htmlhelp to make HTML files and a HTML help project |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
27 |
echo. qthelp to make HTML files and a qthelp project |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
28 |
echo. devhelp to make HTML files and a Devhelp project |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
29 |
echo. epub to make an epub |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
30 |
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
31 |
echo. text to make text files |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
32 |
echo. man to make manual pages |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
33 |
echo. texinfo to make Texinfo files |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
34 |
echo. gettext to make PO message catalogs |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
35 |
echo. changes to make an overview over all changed/added/deprecated items |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
36 |
echo. linkcheck to check all external links for integrity |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
37 |
echo. doctest to run all doctests embedded in the documentation if enabled |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
38 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
39 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
40 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
41 |
if "%1" == "clean" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
42 |
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
43 |
del /q /s %BUILDDIR%\* |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
44 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
45 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
46 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
47 |
if "%1" == "html" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
48 |
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
49 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
50 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
51 |
echo.Build finished. The HTML pages are in %BUILDDIR%/html. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
52 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
53 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
54 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
55 |
if "%1" == "dirhtml" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
56 |
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
57 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
58 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
59 |
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
60 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
61 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
62 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
63 |
if "%1" == "singlehtml" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
64 |
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
65 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
66 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
67 |
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
68 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
69 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
70 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
71 |
if "%1" == "pickle" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
72 |
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
73 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
74 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
75 |
echo.Build finished; now you can process the pickle files. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
76 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
77 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
78 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
79 |
if "%1" == "json" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
80 |
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
81 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
82 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
83 |
echo.Build finished; now you can process the JSON files. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
84 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
85 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
86 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
87 |
if "%1" == "htmlhelp" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
88 |
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
89 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
90 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
91 |
echo.Build finished; now you can run HTML Help Workshop with the ^ |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
92 |
.hhp project file in %BUILDDIR%/htmlhelp. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
93 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
94 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
95 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
96 |
if "%1" == "qthelp" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
97 |
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
98 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
99 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
100 |
echo.Build finished; now you can run "qcollectiongenerator" with the ^ |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
101 |
.qhcp project file in %BUILDDIR%/qthelp, like this: |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
102 |
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Beremiz.qhcp |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
103 |
echo.To view the help file: |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
104 |
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Beremiz.ghc |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
105 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
106 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
107 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
108 |
if "%1" == "devhelp" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
109 |
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
110 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
111 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
112 |
echo.Build finished. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
113 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
114 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
115 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
116 |
if "%1" == "epub" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
117 |
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
118 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
119 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
120 |
echo.Build finished. The epub file is in %BUILDDIR%/epub. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
121 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
122 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
123 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
124 |
if "%1" == "latex" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
125 |
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
126 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
127 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
128 |
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
129 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
130 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
131 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
132 |
if "%1" == "text" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
133 |
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
134 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
135 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
136 |
echo.Build finished. The text files are in %BUILDDIR%/text. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
137 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
138 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
139 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
140 |
if "%1" == "man" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
141 |
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
142 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
143 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
144 |
echo.Build finished. The manual pages are in %BUILDDIR%/man. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
145 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
146 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
147 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
148 |
if "%1" == "texinfo" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
149 |
%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
150 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
151 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
152 |
echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
153 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
154 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
155 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
156 |
if "%1" == "gettext" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
157 |
%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
158 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
159 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
160 |
echo.Build finished. The message catalogs are in %BUILDDIR%/locale. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
161 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
162 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
163 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
164 |
if "%1" == "changes" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
165 |
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
166 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
167 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
168 |
echo.The overview file is in %BUILDDIR%/changes. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
169 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
170 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
171 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
172 |
if "%1" == "linkcheck" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
173 |
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
174 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
175 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
176 |
echo.Link check complete; look for any errors in the above output ^ |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
177 |
or in %BUILDDIR%/linkcheck/output.txt. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
178 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
179 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
180 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
181 |
if "%1" == "doctest" ( |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
182 |
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
183 |
if errorlevel 1 exit /b 1 |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
184 |
echo. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
185 |
echo.Testing of doctests in the sources finished, look at the ^ |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
186 |
results in %BUILDDIR%/doctest/output.txt. |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
187 |
goto end |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
188 |
) |
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
189 |
|
707e2be17a43
Added sphinx doc root in /doc. To be continued
Edouard Tisserant
parents:
diff
changeset
|
190 |
:end |