Fix DOC config files
Issue-ID: DOC-798
Signed-off-by: marineMD <marine.de.dorlodot@intl.att.com>
Change-Id: Ie83f62e32ac15afafecea37ecddd92225ab6dbc1
(cherry picked from commit 22f97cbfa5d8ed9a3e16720ebf87965a563cb94f)
diff --git a/docs/tox.ini b/docs/tox.ini
index 64af58b..71c6957 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -26,3 +26,15 @@
commands = echo "Link Checking not enforced"
#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
whitelist_externals = echo
+
+[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
+
+
+