Publish for Kilo

Copy over the Config Ref and Install Guide to kilo locations until
we branch of Kilo.

Publish networking guide continously.

Change-Id: Icdd1c5a841b804309e4c04f03c7b5607d670719e
This commit is contained in:
Andreas Jaeger 2015-04-28 21:03:21 +02:00
parent 0d1785b040
commit a9f1fb28a0
3 changed files with 17 additions and 5 deletions

View File

@ -3,8 +3,10 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="bk-openstack-config-reference"
xml:id="bk-openstack-config-reference">
<!--- TODO(jaegerandi) Add back to the above once Kilo has branched:
status="draft">
-->
<title>OpenStack Configuration Reference</title>
<?rax
status.bar.text.font.size="40px"

View File

@ -3,8 +3,10 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="openstack-install-manual"
xml:id="openstack-install-manual">
<!-- TODO(jaegerandi) Add back to the above once Kilo has branched:
status="draft">
-->
<title>OpenStack Installation Guide for
<phrase os="rhel;centos;fedora">Red Hat Enterprise Linux 7, CentOS 7, and Fedora 21</phrase>
<phrase os="ubuntu">Ubuntu 14.04</phrase>

14
tox.ini
View File

@ -86,6 +86,14 @@ commands =
# We only publish changed manuals.
# Do not publish DocBook XML Networking Guide
openstack-doc-test --check-build --ignore-book networking-guide --publish
# TODO(jaegerandi): Remove the following lines before we branch off
# a kilo branch.
# Publish install-guide and config-reference to /kilo
cp -a publish-docs/draft publish-docs/kilo
# Replace links to /draft with links to /kilo/
# This needs bash so that tox does not interpret the *
bash -c "sed -i -e 's|/draft/|/kilo/|g' publish-docs/kilo/*/atom.xml publish-docs/kilo/*/*/*/atom.xml publish-docs/kilo/*/*.html publish-docs/kilo/*/*/*/*/*.html publish-docs/kilo/*/*/*/*.html publish-docs/kilo/*/*/*.html publish-docs/kilo/*/*.html"
# END Kilo duplication.
# Build both RST User Guides
{toxinidir}/tools/build-user-guides.sh
# Copy RST user-guide
@ -97,9 +105,9 @@ commands =
# Build RST Networking Guide
{toxinidir}/tools/glossary2rst.py doc/networking-guide/source/glossary.rst
sphinx-build -W doc/networking-guide/source doc/networking-guide/build/html
# Copy RST Networking Guide as draft
mkdir -p publish-docs/draft/networking-guide/
rsync -a doc/networking-guide/build/html/ publish-docs/draft/networking-guide/
# Copy RST Networking Guide
mkdir -p publish-docs/networking-guide/
rsync -a doc/networking-guide/build/html/ publish-docs/networking-guide/
# Now publish www as well, we cannot do this from
# openstack-doc-test. Use rsync so that .htaccess gets also
# copied.