blob: 94fd5ba63a040c526419422752d054dfa117b709 [file] [log] [blame]
Jessica Wagantalldcf40a72020-02-06 15:24:45 -08001[tox]
2minversion = 1.6
thmsdtbe64eed2022-11-21 14:20:51 +01003envlist = docs,docs-linkcheck,docs-spellcheck
Jessica Wagantalldcf40a72020-02-06 15:24:45 -08004skipsdist = true
5
6[testenv:docs]
Cédric Ollivierefe3e452022-08-31 16:47:05 +02007basepython = python3.8
Cédric Ollivier22645442022-04-11 16:28:46 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Ollivierefe3e452022-08-31 16:47:05 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
thmsdtbe64eed2022-11-21 14:20:51 +010011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
Jessica Wagantalldcf40a72020-02-06 15:24:45 -080012commands =
Lukasz Rajewski4d906e52023-03-24 11:26:41 +000013 sphinx-build -q -W -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
Jessica Wagantalldcf40a72020-02-06 15:24:45 -080014
thmsdtbe64eed2022-11-21 14:20:51 +010015#[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 Rajewski4d906e52023-03-24 11:26:41 +000022# sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
thmsdtbe64eed2022-11-21 14:20:51 +010023
24[testenv:docs-spellcheck]
Cédric Ollivierefe3e452022-08-31 16:47:05 +020025basepython = python3.8
Cédric Ollivier22645442022-04-11 16:28:46 +020026deps =
27 -r{toxinidir}/requirements-docs.txt
Cédric Ollivierefe3e452022-08-31 16:47:05 +020028 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
thmsdtbe64eed2022-11-21 14:20:51 +010029 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
30commands =
31 sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck