Fix docs environment

Change-Id: Iac612b8bf8d02f58f4677f3e1104d99cacce5b23
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2019-05-09 14:03:15 -05:00
parent adda8f9d09
commit 5e75d5d0b4
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
4 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ dist
.eggs
*.egg
*.pot
doc/build

3
doc/requirements.txt Normal file
View File

@ -0,0 +1,3 @@
# this is required for the docs build jobs
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0

View File

@ -10,8 +10,3 @@ virtualenv>=14.0.6 # MIT
setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 # PSF/ZPL
mock>=2.0.0 # BSD
bashate>=0.5.1 # Apache-2.0
# this is required for the docs build jobs
sphinx!=1.6.6,!=1.6.7,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0

View File

@ -72,7 +72,9 @@ commands = bindep test
usedevelop = False
[testenv:docs]
commands = python setup.py build_sphinx
deps = -c{env:UPPER_CONSTRAINTS_FILE:{toxinidir}/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pip-install]
recreate = True