[ops-guide] Fix wrong path to common files
Change-Id: I1bd01cd17d40094da50d58068085e38f5436e734 Implements: blueprint ops-guide-rst
This commit is contained in:
parent
5febda4dad
commit
ebef3ac27b
@ -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"
|
||||
)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user