diff --git a/tox.ini b/tox.ini index 6384e33b70..0d5c57ea40 100644 --- a/tox.ini +++ b/tox.ini @@ -37,12 +37,14 @@ commands = openstack-doc-test --check-build {posargs} # published on docs.openstack.org with just copying publish-docs/* # over. commands = - ## Commands for master: - openstack-doc-test --check-build --publish --force - # Now publish www as well, we cannot do this from openstack-doc-test + # 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 + # Now publish www as well, we cannot do this from + # openstack-doc-test. bash -c "cp -a www/* publish-docs/" - ## Commands for stable/icehouse only: - # openstack-doc-test --check-build --publish --only-book install-guide --only-book config-reference [testenv:checklang] # Generatedocbook needs xml2po which cannot be installed