Only publish changed manuals

Only publish the changed manuals and the www pages but not the unchanged
manuals.

Change-Id: I1c7b08570b1fde5740719a5678b35c31591388e7
This commit is contained in:
Andreas Jaeger 2014-05-16 10:06:07 -04:00
parent 9b38a72f75
commit 56cec66e89

12
tox.ini
View File

@ -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