Merge "Add support for new doc PTI jobs"

This commit is contained in:
Zuul 2018-01-09 17:45:03 +00:00 committed by Gerrit Code Review
commit d7d0007f18
3 changed files with 4 additions and 3 deletions

2
doc/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
sphinx>=1.6.2
openstackdocstheme>=1.11.0 # Apache-2.0

View File

@ -3,7 +3,6 @@ pep8==1.5.7
pyflakes==0.8.1
flake8==2.2.4
docutils>=0.11 # OSI-Approved Open Source, Public Domain
sphinx>=1.6.2
httmock>=1.2.4
mock
oslotest>=1.2.0 # Apache-2.0
@ -12,4 +11,3 @@ testrepository>=0.0.18
testtools>=0.9.34
pep257>=0.5.0
PyMySQL>=0.6.2,!=0.6.4
openstackdocstheme>=1.11.0 # Apache-2.0

View File

@ -64,7 +64,8 @@ commands = python setup.py testr --coverage \
commands = {toxinidir}/tools/cover.sh {posargs}
[testenv:docs]
commands = python setup.py build_sphinx {posargs}
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
[flake8]
# E125 continuation line does not distinguish itself from next logical line