diff options
author | efiacor <fiachra.corcoran@est.tech> | 2022-11-07 09:16:55 +0000 |
---|---|---|
committer | thmsdt <thomas.kulik@telekom.de> | 2022-11-08 11:03:15 +0100 |
commit | 89701dc6483800daef21eac3feafd4f74553f238 (patch) | |
tree | 7c5e3383575d3a81f313286a6bc9af28e45536ce /docs/tox.ini | |
parent | 398499b3a3fa6b5cb17d357fe037e340d3d2ca3d (diff) |
[DMAAP-MR] Update RTD setup files
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I108c7940fe36a889287bf6b72a87942fee930411
Issue-ID: DMAAP-1824
Diffstat (limited to 'docs/tox.ini')
-rw-r--r-- | docs/tox.ini | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/docs/tox.ini b/docs/tox.ini index edc90fd..b9d7eb4 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,19 +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 -whitelist_externals = - echo + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = - sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html - echo "Generated docs available in {toxinidir}/_build/html" + 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 -# -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt -# -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.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=master +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=master +commands = + sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |