31 lines
700 B
INI
31 lines
700 B
INI
|
# documentation only
|
||
|
[tox]
|
||
|
minversion = 2.0
|
||
|
envlist =
|
||
|
docs,
|
||
|
docs-linkcheck,
|
||
|
skipsdist = true
|
||
|
|
||
|
[testenv:docs]
|
||
|
basepython = python3
|
||
|
deps =
|
||
|
sphinx
|
||
|
sphinx-rtd-theme
|
||
|
sphinxcontrib-httpdomain
|
||
|
recommonmark
|
||
|
lfdocs-conf
|
||
|
|
||
|
commands =
|
||
|
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
|
||
|
echo "Generated docs available in {toxinidir}/docs/_build/html"
|
||
|
whitelist_externals = echo
|
||
|
|
||
|
[testenv:docs-linkcheck]
|
||
|
basepython = python3
|
||
|
deps = sphinx
|
||
|
sphinx-rtd-theme
|
||
|
sphinxcontrib-httpdomain
|
||
|
recommonmark
|
||
|
lfdocs-conf
|
||
|
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
|