Merge "Remove doc/source/api and doc/build before building docs"
This commit is contained in:
commit
bc0cc457ba
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue