Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 3 | envlist = docs,docs-linkcheck,docs-spellcheck |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
Cédric Ollivier | efe3e45 | 2022-08-31 16:47:05 +0200 | [diff] [blame] | 7 | basepython = python3.8 |
Cédric Ollivier | 2264544 | 2022-04-11 16:28:46 +0200 | [diff] [blame] | 8 | deps = |
| 9 | -r{toxinidir}/requirements-docs.txt |
Cédric Ollivier | efe3e45 | 2022-08-31 16:47:05 +0200 | [diff] [blame] | 10 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 11 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 12 | commands = |
Lukasz Rajewski | 4d906e5 | 2023-03-24 11:26:41 +0000 | [diff] [blame] | 13 | sphinx-build -q -W -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 14 | |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 15 | #[testenv:docs-linkcheck] |
| 16 | #basepython = python3.8 |
| 17 | #deps = |
| 18 | # -r{toxinidir}/requirements-docs.txt |
| 19 | # -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 20 | # -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
| 21 | #commands = |
Lukasz Rajewski | 4d906e5 | 2023-03-24 11:26:41 +0000 | [diff] [blame] | 22 | # sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 23 | |
| 24 | [testenv:docs-spellcheck] |
Cédric Ollivier | efe3e45 | 2022-08-31 16:47:05 +0200 | [diff] [blame] | 25 | basepython = python3.8 |
Cédric Ollivier | 2264544 | 2022-04-11 16:28:46 +0200 | [diff] [blame] | 26 | deps = |
| 27 | -r{toxinidir}/requirements-docs.txt |
Cédric Ollivier | efe3e45 | 2022-08-31 16:47:05 +0200 | [diff] [blame] | 28 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 29 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
| 30 | commands = |
| 31 | sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |