tox: Keeping going with docs

Change-Id: Id753ce2621c3a1dc01df2ebcd4f72fd961e79e45
This commit is contained in:
gujin 2019-11-03 02:37:53 +08:00
parent 4a8497cb37
commit 2655019cd8
2 changed files with 7 additions and 3 deletions

View File

@ -7,8 +7,8 @@ hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
coverage>=4.0,!=4.4 # Apache-2.0
ddt>=1.0.1 # MIT
python-subunit>=0.0.18 # Apache-2.0/BSD
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,!=2.1.0,>=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
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD

View File

@ -17,7 +17,11 @@ commands = {posargs}
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
whitelist_externals =
rm
commands =
rm -rf doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:pep8]
basepython = python3