Fix docs environment
Change-Id: Iac612b8bf8d02f58f4677f3e1104d99cacce5b23 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
adda8f9d09
commit
5e75d5d0b4
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ dist
|
|||||||
.eggs
|
.eggs
|
||||||
*.egg
|
*.egg
|
||||||
*.pot
|
*.pot
|
||||||
|
doc/build
|
||||||
|
3
doc/requirements.txt
Normal file
3
doc/requirements.txt
Normal 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
|
@ -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
|
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
|
mock>=2.0.0 # BSD
|
||||||
bashate>=0.5.1 # Apache-2.0
|
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
|
|
||||||
|
4
tox.ini
4
tox.ini
@ -72,7 +72,9 @@ commands = bindep test
|
|||||||
usedevelop = False
|
usedevelop = False
|
||||||
|
|
||||||
[testenv:docs]
|
[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]
|
[testenv:pip-install]
|
||||||
recreate = True
|
recreate = True
|
||||||
|
Loading…
Reference in New Issue
Block a user