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:
parent
eadf80cccb
commit
936aa468c4
13
tox.ini
13
tox.ini
|
@ -53,15 +53,20 @@ commands =
|
||||||
# Prepare documents (without www) so that they can get published on
|
# Prepare documents (without www) so that they can get published on
|
||||||
# docs.openstack.org with just copying publish-docs/* over.
|
# docs.openstack.org with just copying publish-docs/* over.
|
||||||
commands =
|
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]
|
[testenv:publishdocs-api]
|
||||||
# Prepare documents (without www) so that they can get published on
|
# Prepare documents (without www) so that they can get published on
|
||||||
# developer.openstack.org with just copying publish-docs/api-ref over.
|
# developer.openstack.org with just copying publish-docs/api-ref over.
|
||||||
commands =
|
commands =
|
||||||
openstack-doc-test --check-build --publish --only-book api-ref --only-book api-ref-guides
|
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:
|
# We need to move api-ref-guides to the proper place:
|
||||||
mv publish-docs/api-ref-guides publish-docs/api-ref/
|
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]
|
[testenv:checklang]
|
||||||
# openstack-generate-docbook needs xml2po which cannot be installed in
|
# openstack-generate-docbook needs xml2po which cannot be installed in
|
||||||
|
|
Loading…
Reference in New Issue