openstack-manuals/tools/build-all-rst.sh
Joseph Robinson 45c021922d [User Guides] Remove Admin User Guide from build
1.) This patch removes the Admin User Guide from the docs build
    process after all files were reorganised into the
    Administrator Guide

Implements: blueprint user-guides-reorganised

Change-Id: Id228c24f8a2498a9b482f7115c15a5798f237b22
2016-04-06 14:21:01 +10:00

31 lines
755 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 admin-guide \
contributor-guide image-guide arch-design cli-reference; do
tools/build-rst.sh doc/$guide $GLOSSARY --build build \
--target $guide $LINKCHECK
# Build it only the first time
GLOSSARY=""
done
# Draft guides
# This includes guides that we publish from stable branches
# as versioned like the networking-guide.
for guide in networking-guide arch-design-draft config-reference; do
tools/build-rst.sh doc/$guide --build build \
--target "draft/$guide" $LINKCHECK
done
tools/build-install-guides-rst.sh $LINKCHECK