Publish User Guides under /draft/ for now

Publish User Guides as:
docs.openstack.org/draft/user-guide/index.html
docs.openstack.org/draft/user-guide-admin/index.html

This allows us to review that everything works. Once we stop publishing
the "old" guides, we have to adjust the publish location.

Fix also location for the check queue.

Change-Id: I3dd0a5fc3ed9d253af0fbc201a03cd45e5be75fd
This commit is contained in:
Andreas Jaeger 2015-04-03 21:04:59 +02:00
parent 38880f9190
commit acd8a98540

18
tox.ini
View File

@ -46,11 +46,13 @@ commands =
# Build both RST User Guides
{toxinidir}/tools/build-user-guides.sh
# Copy RST user-guides
mkdir -p publish-docs/user-guides/content/
rsync -a doc/user-guides/build/html/ publish-docs/user-guides/content/
# TODO(ajaeger): We publish to content to allow for reviewing, this needs a
# change of openstack-doc-tools to remove content here
mkdir -p publish-docs/draft/user-guide/content/
rsync -a doc/user-guides/build/html/ publish-docs/draft/user-guide/content/
# Copy RST user-guide-admincontent
mkdir -p publish-docs/user-guides-admin/content/
rsync -a doc/user-guides/build-admin/html/ publish-docs/user-guides-admin/content/
mkdir -p publish-docs/draft/user-guide-admin/content/
rsync -a doc/user-guides/build-admin/html/ publish-docs/draft/user-guide-admin/content/
# Build RST networking guide
sphinx-build -E -W doc/networking-guide/source doc/networking-guide/build/html
mkdir -p publish-docs/networking-guide/content/
@ -77,6 +79,14 @@ commands =
# 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
# Build both RST User Guides
{toxinidir}/tools/build-user-guides.sh
# Copy RST user-guides - as draft for now
mkdir -p publish-docs/draft/user-guide/
rsync -a doc/user-guides/build/html/ publish-docs/draft/user-guide/
# Copy RST user-guide-admin
mkdir -p publish-docs/draft/user-guide-admin/
rsync -a doc/user-guides/build-admin/html/ publish-docs/draft/user-guide-admin/
# Now publish www as well, we cannot do this from
# openstack-doc-test. Use rsync so that .htaccess gets also
# copied.