From 56cec66e89bee5366a8ffb8d96e0d2a0c2d58bb8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 16 May 2014 10:06:07 -0400 Subject: [PATCH] Only publish changed manuals Only publish the changed manuals and the www pages but not the unchanged manuals. Change-Id: I1c7b08570b1fde5740719a5678b35c31591388e7 --- tox.ini | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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