diff --git a/tox.ini b/tox.ini index f5e7aae1..f4f19daf 100644 --- a/tox.ini +++ b/tox.ini @@ -33,18 +33,21 @@ commands = commands = openstack-doc-test --check-deletions {posargs} [testenv:checkbuild] -commands = openstack-doc-test --check-build {posargs} +commands = + openstack-doc-test --check-build {posargs} + bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" [testenv:publishdocs] # Prepare all documents (except www subdir) so that they can get # published on docs.openstack.org with just copying publish-docs/* # over. -commands = +commands = # Create directory, it might not be here if openstack-doc-test does # not publish anything. mkdir publish-docs # We only publish changed manuals. openstack-doc-test --check-build --publish + bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" [testenv:checklang] # Generatedocbook needs xml2po which cannot be installed