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
This commit is contained in:
parent
9d59e2087e
commit
a178d4b73c
@ -109,13 +109,7 @@ function build_rst {
|
|||||||
-d ${DOCTREES} \
|
-d ${DOCTREES} \
|
||||||
${DOC_DIR}${book}/source/ \
|
${DOC_DIR}${book}/source/ \
|
||||||
${BUILD_DIR}
|
${BUILD_DIR}
|
||||||
# "api-quick-start" has a special location
|
PUBLISH_DIR=publish-docs/${language}/${book}/
|
||||||
# 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
|
|
||||||
mkdir -p ${PUBLISH_DIR}
|
mkdir -p ${PUBLISH_DIR}
|
||||||
rsync -a ${DOC_DIR}${book}/build/html/ ${PUBLISH_DIR}
|
rsync -a ${DOC_DIR}${book}/build/html/ ${PUBLISH_DIR}
|
||||||
echo $MARKER_TEXT > ${PUBLISH_DIR}/.root-marker
|
echo $MARKER_TEXT > ${PUBLISH_DIR}/.root-marker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user