Skip to content

Commit b5bc6b2

Browse files
committed
Run sphinx in multiprocess
1 parent 9a54fbf commit b5bc6b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pydocstyle: ## run pydocstyle check
8181
docs: ## build document
8282
@echo "Sphinx build start."
8383
@cd docs && \
84-
sphinx-build -q -E -W -b html . _build/html && \
84+
sphinx-build -q -E -W -j 4 -b html . _build/html && \
8585
cd ../
8686
@echo "Sphinx build done."
8787

dodo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def task_pydocstyle():
3838
def task_docs():
3939
"""Build sphinx document."""
4040
return {
41-
'actions': ['sphinx-build -q -W -E -b html docs docs/_build/html'],
41+
'actions': ['sphinx-build -q -W -E -j 4 -b html docs docs/_build/html'],
4242
}
4343

4444

0 commit comments

Comments
 (0)