openstack-manuals/tools/build-all-rst.sh
OlgaGusarenko 54eecf696d [Contributor Guide] contributor-guide git directory
Creates and adjusts a separate directory in openstack-manuals for the guide

Change-Id: I6ede3151eaa9531b28ccd4c04002d18a66b8f090
Implements: blueprint docs-contributor-guide
2015-08-05 10:21:29 +03:00

21 lines
459 B
Bash
Executable File

#!/bin/bash -e
mkdir -p publish-docs
GLOSSARY="--glossary"
for guide in user-guide user-guide-admin networking-guide; do
tools/build-rst.sh doc/$guide $GLOSSARY --build build \
--target $guide
# Build it only the first time
GLOSSARY=""
done
# Draft guides
for guide in admin-guide-cloud-rst contributor-guide; do
tools/build-rst.sh doc/$guide --build build \
--target "draft/$guide"
done
tools/build-install-guides-rst.sh