Add tox target to build the documentation

Change-Id: Ia0fa3ec6fd63e8539ab26a8226bb9e7dee9ce1c9
This commit is contained in:
Simon Pasquier 2016-10-11 13:53:48 +02:00
parent 46a8749663
commit 0dc14137b0
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 =