Create doc/requirements.txt
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html
Change-Id: Ic05a55fb14741bb0802c217c81b0035b6e1f7de2
(cherry picked from commit 07bba320ae
)
This commit is contained in:
parent
d0721d7cf4
commit
e851e0046f
|
@ -0,0 +1,22 @@
|
||||||
|
# The order of packages is significant, because pip processes them in the order
|
||||||
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
|
# required to build documentation
|
||||||
|
flake8-docstrings==0.2.1.post1 # MIT
|
||||||
|
openstackdocstheme>=1.16.0 # Apache-2.0
|
||||||
|
sphinx>=1.6.2 # BSD
|
||||||
|
reno>=1.8.0,!=2.3.1 # Apache-2.0
|
||||||
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
|
os-api-ref>=1.0.0 # Apache-2.0
|
||||||
|
testtools>=1.4.0 # MIT
|
||||||
|
WebTest>=2.0 # MIT
|
||||||
|
mock>=2.0 # BSD
|
||||||
|
freezegun>=0.3.6 # Apache-2.0
|
||||||
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
|
oslo.db>=4.24.0 # Apache-2.0
|
||||||
|
lxml>=2.3,!=3.7.0 # BSD
|
||||||
|
pyldap>=2.4.20 # PSF
|
||||||
|
ldappool>=2.0.0 # MPL
|
||||||
|
testresources>=0.2.4 # Apache-2.0/BSD
|
||||||
|
testscenarios>=0.4.0
|
|
@ -22,8 +22,6 @@ lxml!=3.7.0,>=2.3 # BSD
|
||||||
# mock object framework
|
# mock object framework
|
||||||
mock>=2.0 # BSD
|
mock>=2.0 # BSD
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
# required to build documentation
|
|
||||||
sphinx>=1.6.2 # BSD
|
|
||||||
os-api-ref>=1.0.0 # Apache-2.0
|
os-api-ref>=1.0.0 # Apache-2.0
|
||||||
# test wsgi apps without starting an http server
|
# test wsgi apps without starting an http server
|
||||||
WebTest>=2.0 # MIT
|
WebTest>=2.0 # MIT
|
||||||
|
@ -32,10 +30,6 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testtools>=1.4.0 # MIT
|
testtools>=1.4.0 # MIT
|
||||||
|
|
||||||
# For documentation
|
|
||||||
openstackdocstheme>=1.16.0 # Apache-2.0
|
|
||||||
reno!=2.3.1,>=1.8.0 # Apache-2.0
|
|
||||||
|
|
||||||
tempest>=16.1.0 # Apache-2.0
|
tempest>=16.1.0 # Apache-2.0
|
||||||
|
|
||||||
# Functional tests.
|
# Functional tests.
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -113,12 +113,14 @@ exclude=.venv,.git,.tox,build,dist,*lib/python*,*egg,tools,vendor,.update-venv,*
|
||||||
max-complexity=24
|
max-complexity=24
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands=
|
commands=
|
||||||
bash -c "rm -rf doc/build"
|
bash -c "rm -rf doc/build"
|
||||||
bash -c "rm -rf doc/source/api"
|
bash -c "rm -rf doc/source/api"
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
|
|
Loading…
Reference in New Issue