[ops-guide] Fix wrong path to common files

Change-Id: I1bd01cd17d40094da50d58068085e38f5436e734
Implements: blueprint ops-guide-rst
This commit is contained in:
KATO Tomoyuki 2016-03-10 15:42:11 +09:00
parent 5febda4dad
commit ebef3ac27b
2 changed files with 3 additions and 3 deletions

View File

@ -22,5 +22,5 @@ DOC_DIR="doc/"
declare -A SPECIAL_BOOKS=(
["ops-guide"]="skip"
# These are translated in openstack-manuals
["common-rst"]="skip"
["common"]="skip"
)

View File

@ -21,14 +21,14 @@ if [ -z "$DOCNAME" ] ; then
fi
# We're not doing anything for this directory.
if [[ "$DOCNAME" = "common-rst" ]] ; then
if [[ "$DOCNAME" = "common" ]] ; then
exit 0
fi
rm -f doc/$DOCNAME/source/locale/$DOCNAME.pot
sphinx-build -b gettext doc/$DOCNAME/source/ doc/$DOCNAME/source/locale/
# common-rst is translated as part of openstack-manuals, do not
# common is translated as part of openstack-manuals, do not
# include the file in the combined tree.
rm doc/$DOCNAME/source/locale/common.pot