c2cac00294
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
19 lines
406 B
Bash
Executable File
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
|