summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-06-15 10:00:05 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2018-06-15 10:02:37 -0400
commit7759b4b46d5834e2bbe7c40265c2d2635eb48243 (patch)
treea0c6f9a182cf9685a0361ab6abe2b97514e5089e
parent7907528256439d02b555c976485ea85cc49fa14c (diff)
downloadpython-novaclient-7759b4b46d5834e2bbe7c40265c2d2635eb48243.tar.gz
Remove doc/build when building docs
Wipe out the existing doc/build when rebuilding the docs. Change-Id: Idd7f6dc171425402b8d7ff7962dc09e7c576986b
-rw-r--r--tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 2214780a..852e234f 100644
--- a/tox.ini
+++ b/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]