VES Heartbeat and Software Management Feature
[oam/tr069-adapter.git] / tox.ini
1 # This work is licensed under a Creative Commons Attribution 4.0 International License.
2 # SPDX-License-Identifier: CC-BY-4.0
3 # Copyright (C) 2019 AT&T Intellectual Property
4 # documentation only
5
6 [tox]
7 minversion = 2.0
8 envlist =
9     docs,
10     docs-linkcheck,
11 skipsdist = true
12
13 [testenv:docs]
14 basepython = python3
15 deps =
16     sphinx
17     sphinx-rtd-theme
18     sphinxcontrib-httpdomain
19     recommonmark
20     lfdocs-conf
21
22 commands =
23     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
24     echo "Generated docs available in {toxinidir}/docs/_build/html"
25 whitelist_externals = echo
26
27 [testenv:docs-linkcheck]
28 basepython = python3
29 deps = sphinx
30        sphinx-rtd-theme
31        sphinxcontrib-httpdomain
32        recommonmark
33        lfdocs-conf
34 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
35