diff options
author | efiacor <fiachra.corcoran@est.tech> | 2022-11-07 09:04:47 +0000 |
---|---|---|
committer | thmsdt <thomas.kulik@telekom.de> | 2022-11-08 08:41:10 +0100 |
commit | 0fcb523c5df4ea94e88cccd97dc9f9baa9104da1 (patch) | |
tree | e41e5e6fcd639b4c3fe76d62a1e02e86427fa94f /docs/tox.ini | |
parent | 0f3bdae1a9ea2ef6ade01a8eed7b6229f0a168c5 (diff) |
[DMAAP-DR] Update RTD setup fileskohn
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I7c28ccd76ed1a4d09c8a604b3d174091e6b2ff1f
Issue-ID: DMAAP-1824
(cherry picked from commit b37d32a39c7096e39fc389f15d150e8c2b8c54c2)
Diffstat (limited to 'docs/tox.ini')
-rw-r--r-- | docs/tox.ini | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/docs/tox.ini b/docs/tox.ini index 49bbe010..4a8d9a05 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = docs, +envlist = docs,docs-linkcheck,docs-spellcheck skipsdist = true [testenv:docs] @@ -8,18 +8,24 @@ basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt - -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=kohn commands = - sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html - echo "Generated docs available in {toxinidir}/_build/html" -whitelist_externals = - echo - git - sh + sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html [testenv:docs-linkcheck] basepython = python3.8 -#deps = -r{toxinidir}/requirements-docs.txt -commands = echo "Link Checking not enforced" -#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck -whitelist_externals = echo +deps = + -r{toxinidir}/requirements-docs.txt + -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=kohn +commands = + sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck + +[testenv:docs-spellcheck] +basepython = python3.8 +deps = + -r{toxinidir}/requirements-docs.txt + -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=kohn +commands = + sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |