diff --git a/tox.ini b/tox.ini index b050765d..be73fb7f 100644 --- a/tox.ini +++ b/tox.ini @@ -55,6 +55,22 @@ commands = extension = .rst,.txt ignore-path = doc/upstream-training/build/*,doc/training-guides/*/build/* +[testenv:checkbuild] +commands = + # Niceness test + doc8 doc/upstream-training + # Build upstream-training slides + sphinx-build -b slides doc/upstream-training/source/ doc/upstream-training/build/slides + mkdir -p publish-docs/draft/upstream-training + rsync -av doc/upstream-training/build/slides/ publish-docs/draft/upstream-training/ + +[testenv:publishbuild] +commands = + # Build upstream-training slides + sphinx-build -b slides doc/upstream-training/source/ doc/upstream-training/build/slides + mkdir -p publish-docs/draft/upstream-training + rsync -av doc/upstream-training/build/slides/ publish-docs/draft/upstream-training/ + [testenv:upstream-slides] commands = # Niceness test