Improve build targets
Make building of the guide quicker by adding to both the 'docs' and 'spelling' build targets: * take advantage of multiprocessor hosts (add `-j auto`) * only build pages that have changed (remove `-a`) Change-Id: Ib31d505508d8dbfa08f8320605b9e50cacd8d764
This commit is contained in:
parent
24d4f95936
commit
352c4ebb92
4
tox.ini
4
tox.ini
|
@ -12,8 +12,8 @@ deps = -r{toxinidir}/requirements.txt
|
|||
commands = {posargs}
|
||||
|
||||
[testenv:spelling]
|
||||
commands = sphinx-build -a -W -d doc/build/doctrees -b html -b spelling doc/source doc/build/html
|
||||
commands = sphinx-build -j auto -W -d doc/build/doctrees -b html -b spelling doc/source doc/build/html
|
||||
|
||||
[testenv:docs]
|
||||
commands = sphinx-build -a -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||
commands = sphinx-build -j auto -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
|
||||
|
|
Loading…
Reference in New Issue