2809ad9edb
Discussion at mailing list: http://lists.openstack.org/pipermail/openstack-docs/2016-May/008532.html Change-Id: Icc6761cdda2ca820447153fa7ec046e22cc98129
28 lines
696 B
Bash
Executable File
28 lines
696 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
mkdir -p publish-docs
|
|
|
|
LINKCHECK=""
|
|
if [[ $# > 0 ]] ; then
|
|
if [ "$1" = "--linkcheck" ] ; then
|
|
LINKCHECK="$1"
|
|
fi
|
|
fi
|
|
|
|
for guide in admin-guide arch-design cli-reference contributor-guide \
|
|
ha-guide image-guide user-guide; do
|
|
tools/build-rst.sh doc/$guide --build build \
|
|
--target $guide $LINKCHECK
|
|
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 \
|
|
ops-guide; do
|
|
tools/build-rst.sh doc/$guide --build build \
|
|
--target "draft/$guide" $LINKCHECK
|
|
done
|
|
|
|
tools/build-install-guides-rst.sh $LINKCHECK
|