blob: db50ddfc2e053f905efc3c5d2eb2394b30051585 [file] [log] [blame]
weichenb6d26962019-11-04 01:43:18 -05001[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
17
18commands =
19 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
20
21 echo "Generated docs available in {toxinidir}/docs/_build/html"
22
23whitelist_externals = echo
24
25[testenv:docs-linkcheck]
26basepython = python3
27deps = sphinx
28 sphinx-rtd-theme
29 sphinxcontrib-httpdomain
30 recommonmark
31 lfdocs-conf
32commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck