openstack-manuals/tools/build-all-rst.sh
daz 9dead00ded [arch-design] Move RST guide to arch-design folder
- Moved RST guide to the arch-design folder
- Deleted XML files
- Updated scripts

Change-Id: Id0e38a9cada9dd75cb9c8f3bd2d88ce2f4fd3eac
Implements: blueprint archguide-mitaka-rst
2015-11-27 13:14:01 +09:00

29 lines
642 B
Bash
Executable File

#!/bin/bash -e
mkdir -p publish-docs
GLOSSARY="--glossary"
LINKCHECK=""
if [[ $# > 0 ]] ; then
if [ "$1" = "--linkcheck" ] ; then
LINKCHECK="$1"
fi
fi
for guide in user-guide user-guide-admin networking-guide admin-guide-cloud \
contributor-guide image-guide arch-design; do
tools/build-rst.sh doc/$guide $GLOSSARY --build build \
--target $guide $LINKCHECK
# Build it only the first time
GLOSSARY=""
done
# Draft guides
for guide in config-ref-rst; do
tools/build-rst.sh doc/$guide --build build \
--target "draft/$guide" $LINKCHECK
done
tools/build-install-guides-rst.sh $LINKCHECK