File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ def html():
197
197
print (e )
198
198
print ("Failed to convert %s" % nb )
199
199
200
- if os .system ('sphinx-build -P -b html -d build/doctrees '
200
+ if os .system ('sphinx-build -j 2 -v - P -b html -d build/doctrees '
201
201
'source build/html' ):
202
202
raise SystemExit ("Building HTML failed." )
203
203
try :
@@ -222,7 +222,7 @@ def latex():
222
222
check_build ()
223
223
if sys .platform != 'win32' :
224
224
# LaTeX format.
225
- if os .system ('sphinx-build -b latex -d build/doctrees '
225
+ if os .system ('sphinx-build -j 2 -v - b latex -d build/doctrees '
226
226
'source build/latex' ):
227
227
raise SystemExit ("Building LaTeX failed." )
228
228
# Produce pdf.
@@ -245,7 +245,7 @@ def latex_forced():
245
245
check_build ()
246
246
if sys .platform != 'win32' :
247
247
# LaTeX format.
248
- if os .system ('sphinx-build -b latex -d build/doctrees '
248
+ if os .system ('sphinx-build -j 2 -v - b latex -d build/doctrees '
249
249
'source build/latex' ):
250
250
raise SystemExit ("Building LaTeX failed." )
251
251
# Produce pdf.
You can’t perform that action at this time.
0 commit comments