Skip to content

Commit

Permalink
run documentation builds in parallel
Browse files Browse the repository at this point in the history
Also treat spelling warnings as build failures.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
  • Loading branch information
dhellmann committed Jul 28, 2020
1 parent bff8b0b commit 7cd6b20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/source/spelling_wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
builtins
hoc
linter
pypi
reStructuredText
sphinxcontrib
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ exclude = .tox,dist,doc,*.egg,build
ignore = W504

[testenv:docs]
basepython=python3.8
basepython=python3.7
setenv =
BUILD=docs
ENABLE_SPELLING=1
deps =
.[docs]
commands =
sphinx-build -W -b html docs/source docs/build
sphinx-build -b spelling docs/source docs/build
sphinx-build -W -j auto -b html docs/source docs/build
sphinx-build -W -j auto -b spelling docs/source docs/build

0 comments on commit 7cd6b20

Please sign in to comment.