ad862790df
tox -e publishdocs will be called by the post jenkins jobs to prepare everything for publishing - and then the content of publish-docs gets copied. Additionally, remove some parameter from openstack-doc-tools invocation, they are now set in doc-test.conf. Change-Id: I8fcc19cf0bc788f107622520d83743a000833b24
31 lines
806 B
INI
31 lines
806 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = checkniceness,checksyntax,checkdeletions,checkbuild
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:checkniceness]
|
|
commands = openstack-doc-test --check-niceness {posargs}
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --check-syntax {posargs}
|
|
|
|
[testenv:checkdeletions]
|
|
commands = openstack-doc-test --check-deletions {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
commands = openstack-doc-test --check-build {posargs}
|
|
|
|
[testenv:publishdocs]
|
|
# Prepare all documents so that they can get published on
|
|
# docs.openstack.org with just copying publish-docs/* over.
|
|
# Currently only the v2 API gets published
|
|
commands = openstack-doc-test --check-build --nocreate-index --only-book v2
|