summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorcaoyuan <cao.yuan@99cloud.net>2019-10-24 13:54:55 +0800
committercaoyuan <cao.yuan@99cloud.net>2019-10-24 13:58:31 +0800
commitec52c3b5dc94baed69de0de80f6c57bc244eaf25 (patch)
tree780456533877abe2c594b64111b2123c3914227a /tox.ini
parente49eca232f272f011bdbfdf2770c45cb7c90bd20 (diff)
downloadoslo-concurrency-ec52c3b5dc94baed69de0de80f6c57bc244eaf25.tar.gz
tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: Id12730272782a7cfda89cba79d40919e2a5ecd24
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 2a99db9..29547e6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,7 +38,7 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
- sphinx-build -W -b html doc/source doc/build/html {posargs}
+ sphinx-build -W --keep-going -b html doc/source doc/build/html {posargs}
[testenv:cover]
basepython = python3
@@ -62,7 +62,8 @@ import_exceptions =
[testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+commands =
+ sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]
basepython = python3