Add slides tox environment

Add slides tox environment for building RST based slides. This tox
environment needs to be enhanced moving forward. For now it includes
the doc8 test to test RST and txt files. Also setup doc8 testing.

Change-Id: I76e0d235b9ee89c8de8033a7119e34cbcf1f0ddd
This commit is contained in:
Andreas Jaeger 2015-02-19 19:17:17 +01:00
parent 734869fd21
commit 04864cce1f
2 changed files with 15 additions and 0 deletions

View File

@ -2,3 +2,4 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
openstack-doc-tools>=0.21.1
doc8 # Apache-2.0

14
tox.ini
View File

@ -78,3 +78,17 @@ sitepackages=True
whitelist_externals = doc-tools-check-languages
commands = doc-tools-check-languages doc-tools-check-languages.conf test all
[testenv:slides]
# New RST based environment for building slides
# Note: Resulting files will not be made available anywhere.
commands=
# Niceness test for doc directory
doc8 doc
mkdir -p publish-docs/trunk/training-guides
# Build labs scripts
bash {toxinidir}/tools/generatelabs
[doc8]
# Settings for doc8:
# File extensions to use
extensions = .rst,.txt