Remove doc/build when building docs
Wipe out the existing doc/build when rebuilding the docs. Change-Id: Idd7f6dc171425402b8d7ff7962dc09e7c576986b
This commit is contained in:
parent
7907528256
commit
7759b4b46d
7
tox.ini
7
tox.ini
|
@ -7,8 +7,10 @@ skipsdist = True
|
|||
[testenv]
|
||||
usedevelop = True
|
||||
# tox is silly... these need to be separated by a newline....
|
||||
whitelist_externals = find
|
||||
bash
|
||||
whitelist_externals =
|
||||
find
|
||||
bash
|
||||
rm
|
||||
passenv = ZUUL_CACHE_DIR
|
||||
REQUIREMENTS_PIP_LOCATION
|
||||
install_command = pip install {opts} {packages}
|
||||
|
@ -46,6 +48,7 @@ deps =
|
|||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build
|
||||
sphinx-build -b html doc/source doc/build/html
|
||||
|
||||
[testenv:releasenotes]
|
||||
|
|
Loading…
Reference in New Issue