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: I32c84f17e4200314fb4a3e2c99d4e04608187a23
This commit is contained in:
ricolin 2017-12-19 15:44:35 +08:00
parent 34f1bd51c5
commit c2740a275a
4 changed files with 12 additions and 3 deletions

2
.gitignore vendored
View File

@ -24,6 +24,8 @@ wheels/
*.egg-info/
.installed.cfg
*.egg
AUTHORS
ChangeLog
# PyInstaller
# Usually these files are written by a python script from a template

8
doc/requirements.txt Normal file
View File

@ -0,0 +1,8 @@
# 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.
openstackdocstheme>=1.17.0 # Apache-2.0
sphinx>=1.6.2 # BSD
reno>=2.5.0 # Apache-2.0
sphinxcontrib-httpdomain>=1.3.0 # BSD

View File

@ -21,9 +21,6 @@ nose-exclude>=0.3.0 # LGPL
nosehtmloutput>=0.0.3 # Apache-2.0
nosexcover>=1.0.10 # BSD
openstack.nose-plugin>=0.7 # Apache-2.0
openstackdocstheme>=1.17.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
sphinx>=1.6.2 # BSD
testtools>=2.2.0 # MIT
# This also needs xvfb library installed on your OS
http://tarballs.openstack.org/horizon/horizon-master.tar.gz#egg=horizon

View File

@ -91,9 +91,11 @@ commands =
{[unit_tests]commands}
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
commands = python setup.py build_sphinx
[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
[hacking]