blob: 75c19da7e42ba88660aa4fa6959e553c5c5b6900 [file] [log] [blame]
wahidw7b435862020-02-24 06:11:47 +00001[tox]
2minversion = 2.0
3envlist =
4 docs,
5 docs-linkcheck,
6
7skipsdist = true
8
9[testenv:docs]
10basepython = python3
11deps =
12 sphinx
13 sphinx-rtd-theme
14 sphinxcontrib-httpdomain
15 recommonmark
16 lfdocs-conf
czichy8861ed32023-09-01 09:24:01 +030017 urllib3~=1.26.15
wahidw7b435862020-02-24 06:11:47 +000018
19commands =
20 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
21
22 echo "Generated docs available in {toxinidir}/docs/_build/html"
23
czichy8861ed32023-09-01 09:24:01 +030024allowlist_externals = echo
wahidw7b435862020-02-24 06:11:47 +000025
26[testenv:docs-linkcheck]
27basepython = python3
28deps = sphinx
29 sphinx-rtd-theme
30 sphinxcontrib-httpdomain
31 recommonmark
32 lfdocs-conf
czichy8861ed32023-09-01 09:24:01 +030033 urllib3~=1.26.15
wahidw7b435862020-02-24 06:11:47 +000034commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck