openstack-manuals/tools/build-all-rst.sh
KATO Tomoyuki 79aa72b0cb [image-guide] Publish RST Vitual Machine Image Guide
Change-Id: I694301758f7f85290d4c9f9b01fbd1924b02b476
Implements: blueprint image-guide-rst
2015-11-23 19:49:51 +01:00

29 lines
646 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; 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 arch-design-rst config-ref-rst; do
tools/build-rst.sh doc/$guide --build build \
--target "draft/$guide" $LINKCHECK
done
tools/build-install-guides-rst.sh $LINKCHECK