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:
Peter Matulis 2022-05-19 13:58:40 -04:00
parent 24d4f95936
commit 352c4ebb92
1 changed files with 2 additions and 2 deletions

View File

@ -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