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
This commit is contained in:
Andreas Jaeger 2015-04-24 13:34:21 +02:00
parent eadf80cccb
commit 936aa468c4
1 changed files with 9 additions and 4 deletions

13
tox.ini
View File

@ -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