Make the tox docs env build the docs

The tools/build_docs script builds the docs for devstack. Use it.

Change-Id: I530ff6c8090f2c58160cb11bee35534b79db52ed
This commit is contained in:
Monty Taylor 2014-10-07 13:13:28 -07:00 committed by Anita Kuno
parent a647898275
commit ebb983d3f2
1 changed files with 8 additions and 1 deletions

View File

@ -13,4 +13,11 @@ whitelist_externals = bash
commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* -or \( -wholename lib/\* -and -not -name \*.md \) \) -print0 | xargs -0 bashate -v"
[testenv:docs]
commands = python setup.py build_sphinx
deps =
Pygments
docutils
whitelist_externals = bash
setenv =
TOP_DIR={toxinidir}
INSTALL_SHOCCO=true
commands = bash tools/build_docs.sh