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
This commit is contained in:
parent
7c6717f1ea
commit
eb89b3b919
@ -17,7 +17,6 @@ DIRECTORY=$1
|
|||||||
if [ -z "$DIRECTORY" ] ; then
|
if [ -z "$DIRECTORY" ] ; then
|
||||||
echo "usage $0 DIRECTORY options"
|
echo "usage $0 DIRECTORY options"
|
||||||
echo "Options are:"
|
echo "Options are:"
|
||||||
echo "--glossary: Build glossary"
|
|
||||||
echo "--tag TAG: Use given tag for building"
|
echo "--tag TAG: Use given tag for building"
|
||||||
echo "--target TARGET: Copy files to publish-docs/$TARGET"
|
echo "--target TARGET: Copy files to publish-docs/$TARGET"
|
||||||
echo "--build BUILD: Name of build directory"
|
echo "--build BUILD: Name of build directory"
|
||||||
@ -25,7 +24,6 @@ if [ -z "$DIRECTORY" ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GLOSSARY=0
|
|
||||||
TARGET=""
|
TARGET=""
|
||||||
TAG=""
|
TAG=""
|
||||||
TAG_OPT=""
|
TAG_OPT=""
|
||||||
@ -42,9 +40,6 @@ while [[ $# > 0 ]] ; do
|
|||||||
--linkcheck)
|
--linkcheck)
|
||||||
LINKCHECK=1
|
LINKCHECK=1
|
||||||
;;
|
;;
|
||||||
--glossary)
|
|
||||||
GLOSSARY=1
|
|
||||||
;;
|
|
||||||
--tag)
|
--tag)
|
||||||
TAG="$2"
|
TAG="$2"
|
||||||
TAG_OPT="-t $2"
|
TAG_OPT="-t $2"
|
||||||
@ -59,17 +54,6 @@ while [[ $# > 0 ]] ; do
|
|||||||
done
|
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 "$BUILD" ] ; then
|
||||||
if [ -z "$TAG" ] ; then
|
if [ -z "$TAG" ] ; then
|
||||||
BUILD_DIR="$DIRECTORY/build/html"
|
BUILD_DIR="$DIRECTORY/build/html"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user