Fix paths for api-guide build

Add html for sphinx invocation so that files end in this directory
as usual. This is the usual place for sphinx documentation.

Change-Id: Iae7a3b91d407c06b7f4d2dce909a15c38ea72b9b
This commit is contained in:
Andreas Jaeger 2015-11-13 15:02:29 +01:00
parent 95019f9786
commit 47ad006952

View File

@ -108,13 +108,13 @@ commands =
python setup.py build_sphinx
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
oslo-config-generator --config-file=etc/nova/nova-config-generator.conf
sphinx-build -b html api-guide/source api-guide/build
sphinx-build -b html api-guide/source api-guide/build/html
[testenv:api-guide]
# This environment is called from CI scripts to test and publish
# the API Guide to developer.openstack.org.
commands =
sphinx-build -b html -d api-guide/build/doctrees api-guide/source api-guide/build
sphinx-build -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html
[testenv:docs-constraints]
install_command = {[testenv:common-constraints]install_command}