Source

sphinx-contrib / epydoc / tox.ini

[tox]
envlist=python,doc

[testenv:python]
deps=
    mock
    pytest
commands=
    py.test --junitxml={envlogdir}/tests.xml []

[testenv:doc]
deps=
    sphinx
    lxml
    sphinxcontrib-issuetracker
commands=
    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html