From 936aa468c4ae4b8fc4bb1b4f099a4a64c6ba0e3e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 24 Apr 2015 13:34:21 +0200 Subject: [PATCH] Publish FirstApp Guide as draft Publish FirstApp Guide as draft - for now only the libcloud variant. Draft location will be http://developer.openstack.org/draft/openstack-firstapp-libcloud Change-Id: Icfb29f65025cccc31f8884af4cebadcfa381b742 --- tox.ini | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index c9eb31af1..cdd08c91d 100644 --- a/tox.ini +++ b/tox.ini @@ -53,15 +53,20 @@ commands = # Prepare documents (without www) so that they can get published on # docs.openstack.org with just copying publish-docs/* over. commands = - openstack-doc-test --check-build --publish --only-book api-quick-start + openstack-doc-test --check-build --publish --only-book api-quick-start [testenv:publishdocs-api] # Prepare documents (without www) so that they can get published on # developer.openstack.org with just copying publish-docs/api-ref over. commands = - openstack-doc-test --check-build --publish --only-book api-ref --only-book api-ref-guides - # We need to move api-ref-guides to the proper place: - mv publish-docs/api-ref-guides publish-docs/api-ref/ + openstack-doc-test --check-build --publish --only-book api-ref --only-book api-ref-guides + # We need to move api-ref-guides to the proper place: + mv publish-docs/api-ref-guides publish-docs/api-ref/ + # Build and copy RST Guides as draft + # Include only environments that are (partially) written + sphinx-build -E -W -t libcloud openstack-firstapp/doc/source openstack-firstapp/build-libcloud/html + mkdir -p publish-docs/draft/openstack-firstapp-libcloud/ + rsync -a openstack-firstapp/build-libcloud/html/ publish-docs/draft/openstack-firstapp-libcloud/ [testenv:checklang] # openstack-generate-docbook needs xml2po which cannot be installed in