Correct requirements for doc builds
[dmaap/messagerouter/messageservice.git] / docs / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = docs,
4 skipsdist = true
5
6 [testenv:docs]
7 basepython = python3
8 deps =
9     -r{toxinidir}/requirements-docs.txt
10     -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
11     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
12 whitelist_externals =
13     echo
14 commands =
15     sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
16     echo "Generated docs available in {toxinidir}/_build/html"
17
18 [testenv:docs-linkcheck]
19 basepython = python3
20 # deps =
21 #     -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
24 commands = echo "Link Checking not enforced"
25 # commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
26 whitelist_externals = echo