Merge "Use constraints for api-ref environment"
This commit is contained in:
commit
aeabde14f3
3
tox.ini
3
tox.ini
@ -34,7 +34,6 @@ passenv = *_proxy *_PROXY
|
||||
# the API Ref to developer.openstack.org.
|
||||
whitelist_externals = rm
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
|
||||
@ -99,7 +98,7 @@ commands = python cinder/config/generate_cinder_opts.py
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
commands =
|
||||
python setup.py build_sphinx
|
||||
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
Block a user