Merge "Remove doc/source/api and doc/build before building docs"

This commit is contained in:
Jenkins 2015-09-04 12:55:44 +00:00 committed by Gerrit Code Review
commit bc0cc457ba
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ usedevelop = True
# tox is silly... these need to be separated by a newline....
whitelist_externals = bash
find
rm
install_command = pip install -U --force-reinstall {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=./nova/tests/unit
@ -155,6 +156,7 @@ commands = {posargs}
[testenv:docs]
commands =
rm -rf doc/source/api doc/build
python setup.py build_sphinx
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
oslo-config-generator --config-file=etc/nova/nova-config-generator.conf