#!/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 shade; do
    tools/build-rst.sh firstapp  \
        --tag ${tag} --target "draft/firstapp-${tag}"
done

#!/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 shade; do
    tools/build-rst.sh firstapp  \
        --tag ${tag} --target "api-ref/draft/firstapp-${tag}"
done

Fix publishing of draft firstapp guides
Fix publishing of draft firstapp guides

To publish the draft guides, we need to move them to publish-docs/api-ref.
Fix the publishing location.

Change-Id: Iaf27e9315031be232672ae4d33efff2c0db9ce65
