blob: 4e9449e2418972f33d9c45c564b46a391fd7441f [file] [log] [blame]
Rishi.Chail5272dca2021-02-23 12:14:24 +00001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
7basepython = python3
8deps = -r{toxinidir}/requirements-docs.txt
lukegleeson15822022021-09-30 09:55:21 +01009 -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
10 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Rishi.Chail5272dca2021-02-23 12:14:24 +000011commands =
12 sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
13 echo "Generated docs available in {toxinidir}/_build/html"
14whitelist_externals =
15 echo
16 git
17 sh
18
19[testenv:docs-linkcheck]
20basepython = python3
lukegleeson15822022021-09-30 09:55:21 +010021deps = -r{toxinidir}/requirements-docs.txt
22 -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
23 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Rishi.Chail5272dca2021-02-23 12:14:24 +000024commands = echo "Link Checking not enforced"
25#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
26whitelist_externals = echo