Browse Source

Remove glossary handling

The DocBook XML glossary is gone, remove the special support in our
tools for it.

implements bp docbook-removal
Change-Id: Ida2bb926718ae7e03ac2ded120cea99c80147857
changes/02/311702/2
Andreas Jaeger 5 years ago
parent
commit
eb89b3b919
1 changed files with 0 additions and 16 deletions
  1. +0
    -16
      bin/doc-tools-build-rst

+ 0
- 16
bin/doc-tools-build-rst View File

@ -17,7 +17,6 @@ DIRECTORY=$1
if [ -z "$DIRECTORY" ] ; then
echo "usage $0 DIRECTORY options"
echo "Options are:"
echo "--glossary: Build glossary"
echo "--tag TAG: Use given tag for building"
echo "--target TARGET: Copy files to publish-docs/$TARGET"
echo "--build BUILD: Name of build directory"
@ -25,7 +24,6 @@ if [ -z "$DIRECTORY" ] ; then
exit 1
fi
GLOSSARY=0
TARGET=""
TAG=""
TAG_OPT=""
@ -42,9 +40,6 @@ while [[ $# > 0 ]] ; do
--linkcheck)
LINKCHECK=1
;;
--glossary)
GLOSSARY=1
;;
--tag)
TAG="$2"
TAG_OPT="-t $2"
@ -59,17 +54,6 @@ while [[ $# > 0 ]] ; do
done
if [ "$GLOSSARY" -eq "1" ] ; then
echo "Generating Glossary"
# Use "common" directory as common if exists while migration
if [[ -e doc/common/conventions.rst ]] ; then
COMMON="common"
else
COMMON="common-rst"
fi
tools/glossary2rst.py doc/${COMMON}/glossary.rst
fi
if [ -z "$BUILD" ] ; then
if [ -z "$TAG" ] ; then
BUILD_DIR="$DIRECTORY/build/html"


Loading…
Cancel
Save