@@ -22,8 +22,8 @@ if not defined SPHINXLINT (
22
22
)
23
23
24
24
set BUILDDIR = _build
25
- set SPHINXOPTS = -W --keep-going -n
26
- set ALLSPHINXOPTS = -d %BUILDDIR% /doctrees %SPHINXOPTS% .
25
+ set SPHINXOPTS = -W --keep-going --nitpicky
26
+ set ALLSPHINXOPTS = --doctree-dir %BUILDDIR% /doctrees %SPHINXOPTS% .
27
27
if NOT " %PAPER% " == " " (
28
28
set ALLSPHINXOPTS = -D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
29
29
)
@@ -76,7 +76,7 @@ if not defined SPHINXBUILD (
76
76
)
77
77
78
78
if " %1 " == " html" (
79
- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR% /html
79
+ %SPHINXBUILD% --builder html %ALLSPHINXOPTS% %BUILDDIR% /html
80
80
if errorlevel 1 exit /b 1
81
81
echo .
82
82
echo .Build finished. The HTML pages are in %BUILDDIR% /html.
@@ -95,39 +95,39 @@ if "%1" == "htmlview" (
95
95
)
96
96
97
97
if " %1 " == " dirhtml" (
98
- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR% /dirhtml
98
+ %SPHINXBUILD% --builder dirhtml %ALLSPHINXOPTS% %BUILDDIR% /dirhtml
99
99
if errorlevel 1 exit /b 1
100
100
echo .
101
101
echo .Build finished. The HTML pages are in %BUILDDIR% /dirhtml.
102
102
goto end
103
103
)
104
104
105
105
if " %1 " == " singlehtml" (
106
- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR% /singlehtml
106
+ %SPHINXBUILD% --builder singlehtml %ALLSPHINXOPTS% %BUILDDIR% /singlehtml
107
107
if errorlevel 1 exit /b 1
108
108
echo .
109
109
echo .Build finished. The HTML pages are in %BUILDDIR% /singlehtml.
110
110
goto end
111
111
)
112
112
113
113
if " %1 " == " pickle" (
114
- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR% /pickle
114
+ %SPHINXBUILD% --builder pickle %ALLSPHINXOPTS% %BUILDDIR% /pickle
115
115
if errorlevel 1 exit /b 1
116
116
echo .
117
117
echo .Build finished; now you can process the pickle files.
118
118
goto end
119
119
)
120
120
121
121
if " %1 " == " json" (
122
- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR% /json
122
+ %SPHINXBUILD% --builder json %ALLSPHINXOPTS% %BUILDDIR% /json
123
123
if errorlevel 1 exit /b 1
124
124
echo .
125
125
echo .Build finished; now you can process the JSON files.
126
126
goto end
127
127
)
128
128
129
129
if " %1 " == " htmlhelp" (
130
- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR% /htmlhelp
130
+ %SPHINXBUILD% --builder htmlhelp %ALLSPHINXOPTS% %BUILDDIR% /htmlhelp
131
131
if errorlevel 1 exit /b 1
132
132
echo .
133
133
echo .Build finished; now you can run HTML Help Workshop with the ^
@@ -136,7 +136,7 @@ if "%1" == "htmlhelp" (
136
136
)
137
137
138
138
if " %1 " == " qthelp" (
139
- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR% /qthelp
139
+ %SPHINXBUILD% --builder qthelp %ALLSPHINXOPTS% %BUILDDIR% /qthelp
140
140
if errorlevel 1 exit /b 1
141
141
echo .
142
142
echo .Build finished; now you can run " qcollectiongenerator" with the ^
@@ -148,55 +148,55 @@ if "%1" == "qthelp" (
148
148
)
149
149
150
150
if " %1 " == " devhelp" (
151
- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR% /devhelp
151
+ %SPHINXBUILD% --builder devhelp %ALLSPHINXOPTS% %BUILDDIR% /devhelp
152
152
if errorlevel 1 exit /b 1
153
153
echo .
154
154
echo .Build finished.
155
155
goto end
156
156
)
157
157
158
158
if " %1 " == " epub" (
159
- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR% /epub
159
+ %SPHINXBUILD% --builder epub %ALLSPHINXOPTS% %BUILDDIR% /epub
160
160
if errorlevel 1 exit /b 1
161
161
echo .
162
162
echo .Build finished. The epub file is in %BUILDDIR% /epub.
163
163
goto end
164
164
)
165
165
166
166
if " %1 " == " latex" (
167
- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR% /latex
167
+ %SPHINXBUILD% --builder latex %ALLSPHINXOPTS% %BUILDDIR% /latex
168
168
if errorlevel 1 exit /b 1
169
169
echo .
170
170
echo .Build finished; the LaTeX files are in %BUILDDIR% /latex.
171
171
goto end
172
172
)
173
173
174
174
if " %1 " == " text" (
175
- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR% /text
175
+ %SPHINXBUILD% --builder text %ALLSPHINXOPTS% %BUILDDIR% /text
176
176
if errorlevel 1 exit /b 1
177
177
echo .
178
178
echo .Build finished. The text files are in %BUILDDIR% /text.
179
179
goto end
180
180
)
181
181
182
182
if " %1 " == " man" (
183
- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR% /man
183
+ %SPHINXBUILD% --builder man %ALLSPHINXOPTS% %BUILDDIR% /man
184
184
if errorlevel 1 exit /b 1
185
185
echo .
186
186
echo .Build finished. The manual pages are in %BUILDDIR% /man.
187
187
goto end
188
188
)
189
189
190
190
if " %1 " == " changes" (
191
- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR% /changes
191
+ %SPHINXBUILD% --builder changes %ALLSPHINXOPTS% %BUILDDIR% /changes
192
192
if errorlevel 1 exit /b 1
193
193
echo .
194
194
echo .The overview file is in %BUILDDIR% /changes.
195
195
goto end
196
196
)
197
197
198
198
if " %1 " == " linkcheck" (
199
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR% /linkcheck
199
+ %SPHINXBUILD% --builder linkcheck %ALLSPHINXOPTS% %BUILDDIR% /linkcheck
200
200
if errorlevel 1 exit /b 1
201
201
echo .
202
202
echo .Link check complete; look for any errors in the above output ^
@@ -205,7 +205,7 @@ or in %BUILDDIR%/linkcheck/output.txt.
205
205
)
206
206
207
207
if " %1 " == " doctest" (
208
- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR% /doctest
208
+ %SPHINXBUILD% --builder doctest %ALLSPHINXOPTS% %BUILDDIR% /doctest
209
209
if errorlevel 1 exit /b 1
210
210
echo .
211
211
echo .Testing of doctests in the sources finished, look at the ^
0 commit comments