Rename common-rst to common
Change-Id: I50d520be92ddcef9c7b42da357da48a1f88f4531
This commit is contained in:
parent
f19ac6d191
commit
8ef0475085
@ -2,6 +2,6 @@ Important note about this directory
|
||||
===================================
|
||||
|
||||
Because this directory is synced from openstack-manuals, make any changes in
|
||||
openstack-manuals/doc/common-rst. After changes to the synced files merge to
|
||||
openstack-manuals/doc/common-rst, a patch is automatically proposed for this
|
||||
openstack-manuals/doc/common. After changes to the synced files merge to
|
||||
openstack-manuals/doc/common, a patch is automatically proposed for this
|
||||
directory.
|
@ -28,7 +28,7 @@ SPECIAL_BOOKS=(
|
||||
# Directory is using RST
|
||||
["security-guide"]="RST"
|
||||
# These are translated in openstack-manuals
|
||||
["common-rst"]="skip"
|
||||
["common"]="skip"
|
||||
# Not translated
|
||||
["security-notes"]="skip"
|
||||
)
|
||||
|
@ -1 +1 @@
|
||||
../../common-rst
|
||||
../../common
|
@ -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 $DOCNAME/source/locale/$DOCNAME.pot
|
||||
sphinx-build -b gettext $DOCNAME/source/ $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 $DOCNAME/source/locale/common.pot
|
||||
|
||||
|
2
tox.ini
2
tox.ini
@ -80,7 +80,7 @@ commands = {toxinidir}/tools/generatepot-rst.sh {posargs}
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
# This file has extra long lines that cannot be avoided, let's white list it.
|
||||
ignore-path = security-notes/OSSN-0047,common-rst,security-guide/build
|
||||
ignore-path = security-notes/OSSN-0047,common,security-guide/build
|
||||
# File extensions to use
|
||||
extensions = .rst,.txt
|
||||
# Disable some doc8 checks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user