blob: 22f612e1d077e455f949e2296e327e1c683b7fed [file] [log] [blame]
demx8as62493dbc2019-11-13 23:57:47 +01001# documentation only
2[tox]
3minversion = 2.0
4envlist =
5 docs,
6 docs-linkcheck,
7skipsdist = true
8
9[testenv:docs]
10basepython = python3
Martin Skorupski145cb1d2023-05-06 17:25:08 +020011deps = -r{toxinidir}/docs/requirements-docs.txt
12
demx8as62493dbc2019-11-13 23:57:47 +010013commands =
14 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
15 echo "Generated docs available in {toxinidir}/docs/_build/html"
Martin Skorupski5edb57e2023-05-06 17:16:02 +020016allowlist_externals = echo
demx8as62493dbc2019-11-13 23:57:47 +010017
18[testenv:docs-linkcheck]
19basepython = python3
Martin Skorupski145cb1d2023-05-06 17:25:08 +020020deps = -r{toxinidir}/docs/requirements-docs.txt
demx8as62493dbc2019-11-13 23:57:47 +010021commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck