Fix requirements for api-ref
To build api-ref, we need doc/requirements - set up dependency correctly. Change-Id: I9f42477d438933bbe17f1015b18a56e52fb7985d
This commit is contained in:
parent
f9dc35cbd7
commit
f03d049f58
4
tox.ini
4
tox.ini
|
@ -45,6 +45,10 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
|||
|
||||
[testenv:api-ref]
|
||||
whitelist_externals = rm
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
|
Loading…
Reference in New Issue