fix '#tox -e api-ref' not working for generating Valence API Docs

Closes-Bug: #1647272
Change-Id: I2e7a1a57e7d2600f35573e195bd14c2f26ff540c
This commit is contained in:
Andy Yan 2016-12-05 15:14:49 +08:00
parent 05e38cf039
commit fe2dec259a
2 changed files with 5 additions and 1 deletions

View File

@ -15,3 +15,7 @@ testtools>=1.4.0
# releasenotes # releasenotes
reno>=1.6.2 # Apache2 reno>=1.6.2 # Apache2
#api-ref
openstackdocstheme>=1.5.0 # Apache-2.0
os-api-ref>=1.0.0 # Apache-2.0

View File

@ -59,7 +59,7 @@ commands = oslo_debug_helper {posargs}
# This environment is called from CI scripts to test and publish # This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org. # the API Ref to developer.openstack.org.
commands = commands =
rm -rf api-ref/build /bin/rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
[flake8] [flake8]