Skip to content

Commit

Permalink
add docs target for tox, use tox -e docs to run the checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Oct 19, 2017
1 parent f82f62a commit 5923752
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ deps=
commands=
py.test --cov miio

[testenv:docs]
basepython=python
deps=
sphinx
doc8
restructuredtext_lint
commands=
doc8 docs/
sphinx-build -W -b html docs/
rst-lint README.rst docs/index.rst docs/miio.rst docs/discovery.rst docs/vacuum.rst

[testenv:flake8]
deps=flake8
commands=flake8 miio
Expand Down

0 comments on commit 5923752

Please sign in to comment.