tox: Keeping going with docs

Change-Id: Ieb99efd35108f4cb53e4f3f29da2415ba4152a9c
This commit is contained in:
gujin 2019-11-03 02:37:53 +08:00
parent a2c781508c
commit d4fd512305
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: