Move RST Glossary to common-rst

Build glossary only once and put it into common-rst directory so that
all RST guides can use it.

Change-Id: I2d3acf25a3af48349b7c10b7e9fea86d5f16444e
This commit is contained in:
Andreas Jaeger 2015-05-12 08:11:44 +02:00
parent 909276a0a0
commit 2dd2472967
6 changed files with 6 additions and 9 deletions

View File

@ -31,7 +31,7 @@ Contents
common/app_support.rst
glossary.rst
common/glossary.rst
Search in this guide
~~~~~~~~~~~~~~~~~~~~

View File

@ -28,7 +28,7 @@ Contents
common/app_support.rst
glossary.rst
common/glossary.rst
Search in this guide
~~~~~~~~~~~~~~~~~~~~

View File

@ -31,7 +31,7 @@ Contents
common/app_support.rst
glossary.rst
common/glossary.rst
Search in this guide
~~~~~~~~~~~~~~~~~~~~

View File

@ -56,7 +56,7 @@ done
if [ "$GLOSSARY" -eq "1" ] ; then
echo "Generating Glossary"
tools/glossary2rst.py $DIRECTORY/source/glossary.rst
tools/glossary2rst.py doc/common-rst/glossary.rst
fi
if [ -z "BUILD" ] ; then

View File

@ -31,7 +31,7 @@ if [ "$DOCNAME" = "user-guides" ] ; then
fi
# Build Glossary
tools/glossary2rst.py > doc/user-guides/source/glossary.rst
tools/glossary2rst.py doc/common-rst/glossary.rst
# First remove the old pot file, otherwise the new file will contain
# old references
rm -f doc/$DOCNAME/source/locale/$DOCNAME.pot

View File

@ -54,7 +54,6 @@ commands =
mkdir -p publish-docs/user-guide-admin/
rsync -a doc/user-guides/build-admin/html/ publish-docs/user-guide-admin/
# Build RST networking guide
{toxinidir}/tools/glossary2rst.py doc/networking-guide/source/glossary.rst
sphinx-build -E -W doc/networking-guide/source doc/networking-guide/build/html
mkdir -p publish-docs/networking-guide/
rsync -a doc/networking-guide/build/html/ publish-docs/networking-guide/
@ -64,12 +63,11 @@ commands =
[testenv:docs]
commands =
{toxinidir}/tools/build-user-guides.sh
{toxinidir}/tools/glossary2rst.py doc/networking-guide/source/glossary.rst
sphinx-build -W doc/networking-guide/source doc/networking-guide/build/html
[testenv:network]
commands =
{toxinidir}/tools/glossary2rst.py doc/networking-guide/source/glossary.rst
{toxinidir}/tools/glossary2rst.py doc/common-rst/glossary.rst
sphinx-build -W doc/networking-guide/source doc/networking-guide/build/html
[testenv:publishdocs]
@ -101,7 +99,6 @@ commands =
mkdir -p publish-docs/user-guide-admin/
rsync -a doc/user-guides/build-admin/html/ publish-docs/user-guide-admin/
# Build RST Networking Guide
{toxinidir}/tools/glossary2rst.py doc/networking-guide/source/glossary.rst
sphinx-build -W doc/networking-guide/source doc/networking-guide/build/html
# Copy RST Networking Guide
mkdir -p publish-docs/networking-guide/