openstack-manuals/tools/build-all-rst.sh
Gauvain Pocentek 5fdf1b72c7 [config-ref] Initial structure for RST migration
This patch provides the sphinx configuration and a basic index.rst to
get started with the configuration reference RST migration.

Change-Id: Ide09e553e5ee469ec7573471613e2f2dc271fa5c
Implements: blueprint config-ref-rst
2015-11-08 16:02:32 +09:00

28 lines
628 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; 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