Publish additionally to Icehouse
This publishes config reference and install guides to both /trunk and /icehouse. Change-Id: I26f75c67fe416f49dcbeb48a2e91d2df9cd121cd
This commit is contained in:
parent
253809affb
commit
b7427dea85
16
tox.ini
16
tox.ini
@ -7,7 +7,11 @@ skipsdist = True
|
|||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals = bash
|
whitelist_externals =
|
||||||
|
bash
|
||||||
|
cp
|
||||||
|
mkdir
|
||||||
|
sed
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@ -31,7 +35,15 @@ commands = openstack-doc-test --check-build {posargs}
|
|||||||
# Prepare all documents (except www subdir) so that they can get
|
# Prepare all documents (except www subdir) so that they can get
|
||||||
# published on docs.openstack.org with just copying publish-docs/*
|
# published on docs.openstack.org with just copying publish-docs/*
|
||||||
# over.
|
# 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]
|
[testenv:buildlang-install]
|
||||||
# Run as "tox -e buildlang-install -- $LANG"
|
# Run as "tox -e buildlang-install -- $LANG"
|
||||||
|
Loading…
Reference in New Issue
Block a user