From 340abc3b1483f4eb29875498fe90c390a251ba30 Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Thu, 8 Oct 2015 12:15:32 -0500 Subject: [PATCH] Builds to quick-start instead of api-quick-start - Want to publish to developer.openstack.org/api/quick-start Change-Id: Ic8772a256db740e1ea7fe9aa536b494a94bd714b --- tools/build-all-rst.sh | 2 +- tools/build-api-quick-start.sh | 5 +++++ tools/build-api-start.sh | 5 ----- tox.ini | 7 ++++--- 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100755 tools/build-api-quick-start.sh delete mode 100755 tools/build-api-start.sh diff --git a/tools/build-all-rst.sh b/tools/build-all-rst.sh index aa3b0eeb0..b06ad3a2d 100755 --- a/tools/build-all-rst.sh +++ b/tools/build-all-rst.sh @@ -3,4 +3,4 @@ mkdir -p publish-docs tools/build-firstapp-rst.sh -tools/build-api-start.sh +tools/build-api-quick-start.sh diff --git a/tools/build-api-quick-start.sh b/tools/build-api-quick-start.sh new file mode 100755 index 000000000..368508fa5 --- /dev/null +++ b/tools/build-api-quick-start.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +mkdir -p publish-docs + +tools/build-rst.sh api-quick-start --target api-ref/api/quick-start diff --git a/tools/build-api-start.sh b/tools/build-api-start.sh deleted file mode 100755 index 03eedc961..000000000 --- a/tools/build-api-start.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -e - -mkdir -p publish-docs - -tools/build-rst.sh api-quick-start --target api-quick-start diff --git a/tox.ini b/tox.ini index 4fdc27006..b971d0b83 100644 --- a/tox.ini +++ b/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: