Update document building tox target

This patch set updates the tox targets for doc and reno building so it is
in line with other OpenStack projects' structure.

Change-Id: Ie475e49afab69e4df4e75120a9e70cc56b6616dd
This commit is contained in:
Nguyen Hai Truong 2018-11-07 00:25:24 -08:00
parent f83a1e50a4
commit 941aee1d2e
2 changed files with 12 additions and 0 deletions

11
doc/requirements.txt Normal file
View File

@ -0,0 +1,11 @@
# 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.
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinxcontrib-apidoc>=0.2.0 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0
mock>=2.0.0 # BSD
ddt>=1.0.1 # MIT
testtools>=2.2.0 # MIT
tempest>=17.1.0 # Apache-2.0

View File

@ -19,6 +19,7 @@ commands = {posargs}
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
find . -type f -name "*.pyc" -delete
python setup.py build_sphinx