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
|
||||
|
||||
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]
|
||||
# Prepare documents (without www) so that they can get published on
|
||||
# docs.openstack.org with just copying publish-docs/* over.
|
||||
commands =
|
||||
{toxinidir}/tools/build-api-start.sh
|
||||
commands = true
|
||||
|
||||
[testenv:publishdocs-api]
|
||||
# Prepare documents (without www) so that they can get published on
|
||||
@ -62,6 +61,8 @@ commands =
|
||||
{toxinidir}/tools/build-firstapp-rst.sh
|
||||
# Delete firstapp draft documents
|
||||
rm -rf publish-docs/draft/
|
||||
# Build and copy API Quick Start
|
||||
{toxinidir}/tools/build-api-quick-start.sh
|
||||
|
||||
[testenv:checklang]
|
||||
# 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]
|
||||
commands =
|
||||
{toxinidir}/tools/build-api-start.sh
|
||||
{toxinidir}/tools/build-api-quick-start.sh
|
||||
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
|
Loading…
Reference in New Issue
Block a user