Merge "Fix api-ref building"

This commit is contained in:
Zuul 2019-05-28 22:11:25 +00:00 committed by Gerrit Code Review
commit 7fe1c1e9b6
1 changed files with 3 additions and 4 deletions

View File

@ -143,10 +143,9 @@ commands=pip-missing-reqs -d --ignore-file=designate/tests/* designate
basepython = python3
# This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org.
#
# we do not used -W here because we are doing some slightly tricky
# things to build a single page document, and as such, we are ok
# ignoring the duplicate stanzas warning.
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf api-ref/build
sphinx-build -E -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html