Publish to /draft/ instead of /trunk

Publish Install Guide to docs.openstack.org/draft/install-guide

Publish Networking Guide to docs.openstack.org/draft/networking-guide
Publish Configuration Reference to /draft as well.

Update link /trunk/index.html

Partial implements bp draft-publishing

Change-Id: I620339c45e07bc492328f8df908e7b9f5f5ef9fa
This commit is contained in:
Andreas Jaeger 2015-04-13 14:04:46 +02:00
parent 753e5d13ae
commit 9b0740f098
3 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,9 @@
[DEFAULT]
repo_name = openstack-manuals
# Publish to /draft instead of /trunk
release_path = draft
url-exception = https://build.opensuse.org/package/show?package=python-pip&project=Cloud:OpenStack:Master
# These files are not in DocBook format:

10
tox.ini
View File

@ -83,8 +83,8 @@ commands =
# not publish anything.
mkdir publish-docs
# We only publish changed manuals.
# Do not publish Install Guide and DocBook XML Networking Guide
openstack-doc-test --check-build --ignore-book install-guide --ignore-book networking-guide --publish
# Do not publish DocBook XML Networking Guide
openstack-doc-test --check-build --ignore-book networking-guide --publish
# Build both RST User Guides
{toxinidir}/tools/build-user-guides.sh
# Copy RST user-guide
@ -93,6 +93,12 @@ commands =
# Copy RST user-guide-admin
mkdir -p publish-docs/user-guide-admin/
rsync -a doc/user-guides/build-admin/html/ publish-docs/user-guide-admin/
# 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/
# Now publish www as well, we cannot do this from
# openstack-doc-test. Use rsync so that .htaccess gets also
# copied.

View File

@ -92,7 +92,7 @@
<div class="docs-link-sections">
<h3><i class="fa fa-wrench"></i> Configuration Guides</h3>
<a href="/arch-design/content/">Architecture Design Guide</a>
<a href="/trunk/config-reference/content/">Configuration Reference</a>
<a href="/draft/config-reference/content/">Configuration Reference</a>
<a href="/admin-guide-cloud/content/">Cloud Administrator Guide</a>
<a href="/high-availability-guide/content/index.html">High Availability Guide</a>
<a href="/ops/">Operations Guide</a>