Merge "tox: Stop building *all* docs in 'docs'"

This commit is contained in:
Zuul 2018-11-05 17:41:44 +00:00 committed by Gerrit Code Review
commit 54ea78c900
1 changed files with 10 additions and 4 deletions

14
tox.ini
View File

@ -81,12 +81,9 @@ commands = oslopolicy-sample-generator --config-file=config-generator/policy.con
[testenv:docs]
basepython = python3
description = Builds api-ref, api-guide, releasenotes and devdocs
description = Builds main documention
commands =
{[testenv:devdocs]commands}
{[testenv:api-guide]commands}
{[testenv:api-ref]commands}
{[testenv:releasenotes]commands}
[testenv:api-guide]
basepython = python3
@ -111,6 +108,15 @@ commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:all-docs]
basepython = python3
description = Builds all docouments
commands =
{[testenv:devdocs]commands}
{[testenv:api-guide]commands}
{[testenv:api-ref]commands}
{[testenv:releasenotes]commands}
[testenv:devdocs]
basepython = python3
description = Builds developer documentation