diff --git a/test-requirements.txt b/test-requirements.txt index 6dbc85ae..55b1396a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 diff --git a/tox.ini b/tox.ini index 20f707d6..991d374f 100644 --- a/tox.ini +++ b/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