Builds to quick-start instead of api-quick-start
- Want to publish to developer.openstack.org/api/quick-start Change-Id: Ic8772a256db740e1ea7fe9aa536b494a94bd714b
This commit is contained in:
parent
e02ffe2c4e
commit
340abc3b14
@ -3,4 +3,4 @@
|
|||||||
mkdir -p publish-docs
|
mkdir -p publish-docs
|
||||||
|
|
||||||
tools/build-firstapp-rst.sh
|
tools/build-firstapp-rst.sh
|
||||||
tools/build-api-start.sh
|
tools/build-api-quick-start.sh
|
||||||
|
5
tools/build-api-quick-start.sh
Executable file
5
tools/build-api-quick-start.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
mkdir -p publish-docs
|
||||||
|
|
||||||
|
tools/build-rst.sh api-quick-start --target api-ref/api/quick-start
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
mkdir -p publish-docs
|
|
||||||
|
|
||||||
tools/build-rst.sh api-quick-start --target api-quick-start
|
|
7
tox.ini
7
tox.ini
@ -48,8 +48,7 @@ commands =
|
|||||||
[testenv:publishdocs]
|
[testenv:publishdocs]
|
||||||
# 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 = true
|
||||||
{toxinidir}/tools/build-api-start.sh
|
|
||||||
|
|
||||||
[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
|
||||||
@ -62,6 +61,8 @@ commands =
|
|||||||
{toxinidir}/tools/build-firstapp-rst.sh
|
{toxinidir}/tools/build-firstapp-rst.sh
|
||||||
# Delete firstapp draft documents
|
# Delete firstapp draft documents
|
||||||
rm -rf publish-docs/draft/
|
rm -rf publish-docs/draft/
|
||||||
|
# Build and copy API Quick Start
|
||||||
|
{toxinidir}/tools/build-api-quick-start.sh
|
||||||
|
|
||||||
[testenv:checklang]
|
[testenv:checklang]
|
||||||
# openstack-generate-docbook needs xml2po which cannot be installed in
|
# openstack-generate-docbook needs xml2po which cannot be installed in
|
||||||
@ -123,7 +124,7 @@ commands = sphinx-build -E -W -t shade firstapp/source firstapp/build-shade/html
|
|||||||
|
|
||||||
[testenv:api-quick-start]
|
[testenv:api-quick-start]
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/build-api-start.sh
|
{toxinidir}/tools/build-api-quick-start.sh
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
# Settings for doc8:
|
# Settings for doc8:
|
||||||
|
Loading…
Reference in New Issue
Block a user