~curtin-dev/curtin/trunk

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Scott Moser
  • Date: 2015-08-27 18:24:31 UTC
  • mto: This revision was merged to the branch mainline in revision 251.
  • Revision ID: smoser@ubuntu.com-20150827182431-zszw8q0v976ucx5y
add docs rule to Makefile and 'tox -e docs'

This makes it easy to run the docs build either via
tox or system sphinx-build in make.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    flake8
25
25
commands = flake8 {posargs}
26
26
 
 
27
[testenv:docs]
 
28
deps = {[testenv]deps}
 
29
    sphinx
 
30
commands =
 
31
    sphinx-build -b html -d doc/_build/doctrees doc/ doc/_build/html
 
32
 
27
33
[flake8]
28
34
builtins = _
29
35
exclude = .venv,.bzr,.tox,dist,doc,*lib/python*,*egg,build