a0194a51d8
Setup repository so that we can gate using the openstack-doc-tools tools. Update documentation with details. Change-Id: I8c0dd9131d45f1711d2b1c1916b2c668c6827e1a
29 lines
710 B
INI
29 lines
710 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = checkniceness,checksyntax,checkdeletions,checkbuild
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
LC_ALL=C
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:checkniceness]
|
|
commands = openstack-doc-test --api-site --check-niceness {posargs}
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --api-site --check-syntax {posargs}
|
|
|
|
[testenv:checkdeletions]
|
|
commands = openstack-doc-test --api-site --check-deletions {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
# ignore directory v1.0, it is not published
|
|
commands = openstack-doc-test --api-site --ignore-dir=v1.0 --check-build {posargs}
|