diff --git a/tox.ini b/tox.ini index 3e1d253c19a..56d7aa1a597 100644 --- a/tox.ini +++ b/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/