Merge "tox: Keeping going with docs"

This commit is contained in:
Zuul 2019-11-10 07:22:28 +00:00 committed by Gerrit Code Review
commit cb41764f05
2 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,8 @@ netaddr
jinja2>=2.8.0,<3
# this is required for the docs build jobs
sphinx
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
openstackdocstheme>=1.29.2 # Apache-2.0
reno>=2.11.3 # Apache-2.0
doc8>=0.8.0 # Apache-2.0

View File

@ -93,7 +93,7 @@ commands =
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
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:docs]
basepython = python3
@ -101,7 +101,7 @@ deps =
-r {toxinidir}/doc/requirements.txt
commands=
doc8 doc
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html -T
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T
[doc8]
# Settings for doc8: