doc: Enable parallel build
"-j auto" enable parallel documentation build with multiple processes and the number of processors is detected automatically. This speeds up local documentation build a lot. Change-Id: I7fab3a37a4a15b886d3456eebad86115a1a63f11
This commit is contained in:
parent
f00f013f16
commit
92edabdcf3
6
tox.ini
6
tox.ini
@ -126,7 +126,7 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
sphinx-build -j auto -W -b html doc/source doc/build/html
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
@ -136,7 +136,7 @@ deps = {[testenv:docs]deps}
|
|||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
make
|
make
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -b latex doc/source doc/build/pdf
|
sphinx-build -j auto -W -b latex doc/source doc/build/pdf
|
||||||
make -C doc/build/pdf
|
make -C doc/build/pdf
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
@ -217,4 +217,4 @@ markers =
|
|||||||
python_files =
|
python_files =
|
||||||
test_*.py
|
test_*.py
|
||||||
*_test.py
|
*_test.py
|
||||||
tests.py
|
tests.py
|
||||||
|
Loading…
Reference in New Issue
Block a user