From 37d7dbfe64f801a0cd0ea054681b908e0e95120a Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Mon, 30 Jan 2017 17:43:20 +0100 Subject: [PATCH] docs: clean up environment before building Change-Id: I6f51a27271a75efe57228b74abdbb589151212d8 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b4fa8d5..709b6d3 100644 --- a/tox.ini +++ b/tox.ini @@ -54,7 +54,8 @@ deps = coveralls {[testenv]deps} [testenv:docs] -commands = python setup.py build_sphinx +commands = rm -rf doc/source/api doc/build + python setup.py build_sphinx [testenv:genconfig] commands = oslo-config-generator --output-file etc/ooi.conf.sample \