Clean releasenotes and install-guide build dir
to ensure artefacts from previous runs are not left over when running these document builds locally. TrivialFix Change-Id: I0062c1bf94490ed4e5d0eb3675226b144f7124c1
This commit is contained in:
parent
ded53681cb
commit
85405dab29
10
tox.ini
10
tox.ini
|
@ -15,12 +15,18 @@ commands =
|
||||||
ostestr {posargs}
|
ostestr {posargs}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[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
|
-b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:install-guide]
|
[testenv:install-guide]
|
||||||
# builds to install-guide/build/html
|
# 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]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
Loading…
Reference in New Issue