Merge "Clean releasenotes and install-guide build dir"

This commit is contained in:
Jenkins 2017-06-18 09:25:14 +00:00 committed by Gerrit Code Review
commit f7d3903ccb
1 changed files with 8 additions and 2 deletions

10
tox.ini
View File

@ -15,12 +15,18 @@ commands =
ostestr {posargs}
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
whitelist_externals = rm
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees \
-b html releasenotes/source releasenotes/build/html
[testenv:install-guide]
# builds to install-guide/build/html
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
whitelist_externals = rm
commands =
rm -rf install-guide/build
sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}