Add doc/requirements
We need to specify doc requirements in doc/requirements.txt to avoid problems with the pip resolver for the release team. Removed specific doc requirements from test-requirements.txt Change-Id: I8595eeadcbfd9c45949c676312fc4079795f9953
This commit is contained in:
parent
5d8bec12d4
commit
2cb8ca719a
3
doc/requirements.txt
Normal file
3
doc/requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
reno>=3.1.0 # Apache-2.0
|
||||||
|
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||||
|
openstackdocstheme>=2.2.1 # Apache-2.0
|
@ -8,8 +8,6 @@ coverage!=4.4,>=4.0 # Apache-2.0
|
|||||||
# used by libvirt driver
|
# used by libvirt driver
|
||||||
libvirt-python>=6.0.0 # LGPLv2+
|
libvirt-python>=6.0.0 # LGPLv2+
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
|
||||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
|
||||||
# used by nova driver
|
# used by nova driver
|
||||||
openstacksdk>=0.13.0 # Apache-2.0
|
openstacksdk>=0.13.0 # Apache-2.0
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
@ -17,6 +15,5 @@ stestr>=1.0.0 # Apache-2.0
|
|||||||
testscenarios>=0.4 # Apache-2.0/BSD
|
testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
munch>=2.1.0 # MIT
|
munch>=2.1.0 # MIT
|
||||||
reno>=3.1.0 # Apache-2.0
|
|
||||||
flake8-import-order>=0.17.1 # LGPLv3
|
flake8-import-order>=0.17.1 # LGPLv3
|
||||||
pycodestyle>=2.0.0,<2.7.0 # MIT
|
pycodestyle>=2.0.0,<2.7.0 # MIT
|
||||||
|
4
tox.ini
4
tox.ini
@ -34,14 +34,18 @@ commands =
|
|||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
whitelist_externals = make
|
whitelist_externals = make
|
||||||
|
deps = {[testenv:docs]deps}
|
||||||
commands = sphinx-build -b latex doc/source doc/build/pdf
|
commands = sphinx-build -b latex doc/source doc/build/pdf
|
||||||
make -C doc/build/pdf
|
make -C doc/build/pdf
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user