Skip to content

Commit bab689b

Browse files
committed
DOC: use parallel doc build
closes pandas-dev#15591
1 parent e097bf5 commit bab689b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/make.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def html():
197197
print(e)
198198
print("Failed to convert %s" % nb)
199199

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 '
201201
'source build/html'):
202202
raise SystemExit("Building HTML failed.")
203203
try:
@@ -222,7 +222,7 @@ def latex():
222222
check_build()
223223
if sys.platform != 'win32':
224224
# 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 '
226226
'source build/latex'):
227227
raise SystemExit("Building LaTeX failed.")
228228
# Produce pdf.
@@ -245,7 +245,7 @@ def latex_forced():
245245
check_build()
246246
if sys.platform != 'win32':
247247
# 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 '
249249
'source build/latex'):
250250
raise SystemExit("Building LaTeX failed.")
251251
# Produce pdf.

0 commit comments

Comments
 (0)