Update "python setup.py build_sphinx" to build_sphinx

1. Update "python setup.py build_sphinx" to build_sphinx
2. Keeping going with docs

Change-Id: I729ae1a6c106cbc126d6d5849ed2f86673a29b4e
This commit is contained in:
gujin 2019-11-01 11:39:07 +08:00 committed by gugug
parent 5df462dcfa
commit 01d03bb71e

View File

@ -26,12 +26,13 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands =
doc8 --ignore D000 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
sphinx-build -W -b html doc/source doc/build/html
rm -rf doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html
doc8 --ignore D000 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
[testenv:releasenotes]
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}