openstack-manuals/tools/build-all-rst.sh
Andreas Jaeger c2cac00294 Cleanup builds
Remove separate build-user-guides.sh and create a new build-all-rst.sh
tool.

Remove networking tox environment, since the RST guides share files, we
should always build them together using the docs tox environment.

Change-Id: I7ef98ca5e134096e14c79d58b0fc62a07747e471
2015-05-29 17:10:41 +00:00

19 lines
406 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; do
tools/build-rst.sh doc/$guide --build build \
--target "draft/$guide"
done