Files
openstack-manuals/tools/build-user-guides.sh
Andreas Jaeger babd749f66 User Guides: Fix titles for guides
Create titles for both guides to differentiate them.
This needs a separate top-level index file and some moving of files
around so that the finished guide has an index.html file.

Change-Id: Ibe23d0c466b5c5f7d0b909548b55f6c5382f8992
2015-03-30 18:55:09 +02:00

13 lines
668 B
Bash
Executable File

#!/bin/sh -e
echo "Building End User Guide"
echo "======================="
sphinx-build -t user_only -E -W doc/playground-user-guide/source/ doc/playground-user-guide/build/html
echo "Building Admin User Guide"
echo "========================="
sphinx-build -t admin_only -E -W doc/playground-user-guide/source/ doc/playground-user-guide/build-admin/html
# Cleanup: Rename index-html to index everywhere
mv doc/playground-user-guide/build-admin/html/index-admin.html doc/playground-user-guide/build-admin/html/index.html
sed -i -e 's/index-admin.html/index.html/g' doc/playground-user-guide/build-admin/html/*.html doc/playground-user-guide/build-admin/html/*/*.html