Pranav Salunke 9ac3590de7 Adds upstream training to OpenStack gate
Update the current gate 'slides' to build and publish upstream
training content. This patch does the following changes.

* Adds generateslides script to use sphinx/hieroglyph to build slides
* Updates tox.ini to use generateslides script
* Update .gitignore to ignore _build/ directory which is the default
  folder for generated output generated by sphix.

Hence forth, any changes to the upstream training rst slides will be
gated and published, also it is essential to note that these jobs are
new and may not be accurate or reliable to address all the errors in
the rst slides.

Change-Id: I8a220dd31501f9b3733a6282d7048fe283d2a0d1
2015-04-07 14:27:06 +02:00

8 lines
301 B
Bash
Executable File

#!/bin/bash
# Used by tox.ini when checking build and publishing docs to website
# Generate and publish upstream training slides
mkdir -p publish-docs/trunk/training-guides/upstream-training/
sphinx-build -b slides doc/upstream-training/source/ publish-docs/trunk/training-guides/upstream-training/