From acd8a9854090b1f4167535b8062db97191464a01 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 3 Apr 2015 21:04:59 +0200 Subject: [PATCH] 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 --- tox.ini | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 52ff9db55d..95094a72d2 100644 --- a/tox.ini +++ b/tox.ini @@ -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.