From a178d4b73c70dea440d92e0629f48e4208c33bc2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 23 Jul 2019 13:38:28 +0200 Subject: [PATCH] Don't use special api-quick-start location To simplify publishing of the guide, we don't use the special directory anymore, remove it for translated documents as well. Change-Id: I0520314f4946736b78e9d7438d676739c741f7b1 --- bin/doc-tools-check-languages | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/doc-tools-check-languages b/bin/doc-tools-check-languages index f6dbe6ea..5ca7fc7a 100755 --- a/bin/doc-tools-check-languages +++ b/bin/doc-tools-check-languages @@ -109,13 +109,7 @@ function build_rst { -d ${DOCTREES} \ ${DOC_DIR}${book}/source/ \ ${BUILD_DIR} - # "api-quick-start" has a special location - # following https://developer.openstack.org/api-guide/quick-start/ - if [ ${book} = "api-quick-start" ] ; then - PUBLISH_DIR=publish-docs/${language}/api-guide/quick-start/ - else - PUBLISH_DIR=publish-docs/${language}/${book}/ - fi + PUBLISH_DIR=publish-docs/${language}/${book}/ mkdir -p ${PUBLISH_DIR} rsync -a ${DOC_DIR}${book}/build/html/ ${PUBLISH_DIR} echo $MARKER_TEXT > ${PUBLISH_DIR}/.root-marker