Merge "tox: Keeping going with docs"

This commit is contained in:
Zuul 2019-10-24 13:25:16 +00:00 committed by Gerrit Code Review
commit c29a7e20a1
3 changed files with 8 additions and 4 deletions

View File

@ -3,5 +3,5 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.18.1 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD

View File

@ -69,7 +69,7 @@ rfc3986==0.3.1
simplejson==3.5.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.6.5
Sphinx==1.8.0
sphinxcontrib-websupport==1.0.1
stevedore==1.20.0
stestr==2.0.0

View File

@ -51,8 +51,12 @@ commands =
[testenv:docs]
basepython = python3
whitelist_externals =
rm
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
commands =
rm -rf doc/build
sphinx-build --keep-going -b html doc/source doc/build/html
[flake8]
ignore = E123,E126,E128,E241,E265,E713,H202,H405,H238