Publish additionally to Icehouse

This publishes config reference and install guides to both /trunk and /icehouse.

Change-Id: I26f75c67fe416f49dcbeb48a2e91d2df9cd121cd
This commit is contained in:
Andreas Jaeger 2014-04-15 15:29:42 +02:00
parent 253809affb
commit b7427dea85

16
tox.ini
View File

@ -7,7 +7,11 @@ skipsdist = True
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = bash
whitelist_externals =
bash
cp
mkdir
sed
[testenv:venv]
commands = {posargs}
@ -31,7 +35,15 @@ commands = openstack-doc-test --check-build {posargs}
# Prepare all documents (except www subdir) so that they can get
# published on docs.openstack.org with just copying publish-docs/*
# over.
commands = openstack-doc-test --check-build --nocreate-index --force
commands =
openstack-doc-test --check-build --nocreate-index --force
# Publish install-guide and config-reference to /icehouse
# TODO(jaegerandi): Remove these lines before we branch off an
# icehouse branch.
cp -a publish-docs/trunk publish-docs/icehouse
# Replace links to /trunk with links to /icehouse/
# This needs bash so that tox does not interpret the *
bash -c "sed -i -e 's|/trunk/|/icehouse/|g' publish-docs/icehouse/*/atom.xml publish-docs/icehouse/*/*/*/atom.xml publish-docs/icehouse/*/*.html publish-docs/icehouse/*/*/*/*/*.html publish-docs/icehouse/*/*/*/*.html publish-docs/icehouse/*/*/*.html publish-docs/icehouse/*/*.html"
[testenv:buildlang-install]
# Run as "tox -e buildlang-install -- $LANG"