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:
parent
9b38a72f75
commit
56cec66e89
12
tox.ini
12
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
|
||||
|
Loading…
Reference in New Issue
Block a user