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:
parent
734869fd21
commit
04864cce1f
@ -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
14
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user