Cleaned up servers and extension WADL files to resolve some errors Ensured all PDFs build successfully. The api-ref-guides only publish PDF files. Partial-Bug: #1243631 Change-Id: Iab24d2a1845475449977786b84b974c085bae6da author: diane fleming
41 lines
1.3 KiB
INI
41 lines
1.3 KiB
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 documents (without www) so that they can get published on
|
|
# docs.openstack.org with just copying publish-docs/* over.
|
|
commands = openstack-doc-test --check-build --nocreate-index --only-book api-quick-start
|
|
|
|
[testenv:publishdocs-api]
|
|
# Prepare documents (without www) so that they can get published on
|
|
# api.openstack.org with just copying publish-docs/* over.
|
|
commands =
|
|
openstack-doc-test --check-build --nocreate-index --only-book api-ref
|
|
# TODO(jaegerandi,dfleming): Add "--only-book api-ref-guides"
|
|
# We need to move api-ref-guides to the proper place
|
|
# TODO(jaegerandi,dfleming): Uncomment once we're sure this is the proper
|
|
# place:
|
|
# mv publish-docs/api-ref-guides publish-docs/api-ref/
|