summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 32de8a6c0107281d98d1fa2d44dd49d7912ca965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
minversion = 2.0
envlist = docs,
skipsdist = true

[testenv:docs]
basepython = python3
deps = 
    sphinx
    sphinx-rtd-theme
    sphinxcontrib-httpdomain
    sphinxcontrib.blockdiag
    sphinxcontrib.needs
    sphinxcontrib.plantuml
    sphinxcontrib.nwdiag
    sphinxcontrib.seqdiag
    sphinxcontrib.swaggerdoc
    recommonmark
    lfdocs-conf
commands =
    sphinx-build -b html -n -d {envtmpdir}/docs/doctrees ./docs/ {toxinidir}/docs/_build/html
    echo "Generated docs available in {toxinidir}/docs/_build/html"
whitelist_externals =
    echo
    git
    sh

[testenv:docs-linkcheck]
basepython = python3
commands = echo "Link Checking not enforced"
#commands = sphinx-build -b linkcheck -d {envtmpdir}/docs/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
whitelist_externals = echo