Merge "Add tox target to build the documentation"

This commit is contained in:
Jenkins 2016-10-11 13:06:44 +00:00 committed by Gerrit Code Review
commit 8ba379950f
2 changed files with 7 additions and 1 deletions

View File

View File

@ -1,5 +1,5 @@
[tox]
envlist = manifests,build_plugin
envlist = manifests,docs,build_plugin
skipsdist = True
[testenv]
@ -17,6 +17,12 @@ commands =
bundle install --path {toxinidir}/.bundled_gems
bundle exec rake test
[testenv:docs]
changedir = {toxinidir}/docs
whitelist_externals = make
commands =
make clean html SPHINXOPTS=-W
[testenv:build_plugin]
changedir = {toxinidir}
whitelist_externals =