aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorjacky06 <zhang.min@99cloud.net>2019-10-14 18:18:48 +0800
committerjacky06 <zhang.min@99cloud.net>2019-10-14 18:20:35 +0800
commitcde22bdddb73c61894d360ca9659de9837a77a03 (patch)
treeb01a621c950c5b0a40426717dff3bf5ca247bfa4 /tox.ini
parent5478f362e73988a76e547ba86a556f8bc4deb56b (diff)
downloadkolla-ansible-cde22bdddb73c61894d360ca9659de9837a77a03.tar.gz
kolla-ansible-cde22bdddb73c61894d360ca9659de9837a77a03.zip
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: I405812a0039274139e055c54ab7b451dc753c842
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 44d058460..b61402df9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -73,7 +73,7 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
- sphinx-build -W -b html doc/source doc/build/html
+ sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:deploy-guide]
basepython = python3
@@ -84,14 +84,14 @@ deps =
commands =
rm -rf deploy-guide/build
- sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html
+ sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html
[testenv:pdf-docs]
basepython = python3
whitelist_externals = make
deps = {[testenv:docs]deps}
commands =
- sphinx-build -W -b latex doc/source doc/build/pdf
+ sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:setupenv]
@@ -108,7 +108,7 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
- sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+ sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[flake8]
show-source = True