api-site/tools/build-firstapp-rst.sh
Andreas Jaeger 3330718f4b Rework RST building
Use the same shell scripts like openstack-manuals for building of RST
files. This simplifies the tox.ini file and allows easier adding of new
tags.

This now build dotnet, fog, and pkgcloud versions as draft documents and
continues to publish the libcloud version.

Change-Id: Id5deebbb54904a44691104e19ef60f15a14c0f7c
2015-07-12 12:03:17 +02:00

16 lines
366 B
Bash
Executable File

#!/bin/bash -e
mkdir -p publish-docs
# Publish documents to api-ref for developer.openstack.org
for tag in libcloud; do
tools/build-rst.sh firstapp \
--tag ${tag} --target "api-ref/firstapp-${tag}"
done
# Draft documents
for tag in dotnet fog pkgcloud; do
tools/build-rst.sh firstapp \
--tag ${tag} --target "draft/firstapp-${tag}"
done