blob: 92341f92409cfda2eba85433fd07c682314c3449 [file] [log] [blame]
Mohamed Abukara48a8992019-12-02 10:41:47 +02001# documentation only
2[tox]
3minversion = 2.0
4envlist =
5 docs,
6 docs-linkcheck,
7skipsdist = true
8
9[testenv:docs]
10passenv =
11 http_proxy
12 https_proxy
13
14basepython = python3
15deps =
16 sphinx
17 sphinx-rtd-theme
18 sphinxcontrib-httpdomain
19 recommonmark
20 lfdocs-conf
czichy361faac2023-09-01 09:24:01 +030021 urllib3~=1.26.15
Mohamed Abukara48a8992019-12-02 10:41:47 +020022
23commands =
24 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
25 echo "Generated docs available in {toxinidir}/docs/_build/html"
czichy361faac2023-09-01 09:24:01 +030026allowlist_externals = echo
Mohamed Abukara48a8992019-12-02 10:41:47 +020027
28[testenv:docs-linkcheck]
29passenv =
30 http_proxy
31 https_proxy
32
33basepython = python3
34deps = sphinx
35 sphinx-rtd-theme
36 sphinxcontrib-httpdomain
37 recommonmark
38 lfdocs-conf
czichy361faac2023-09-01 09:24:01 +030039 urllib3~=1.26.15
Mohamed Abukara48a8992019-12-02 10:41:47 +020040commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck