summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorRich Bennett <rb2745@att.com>2018-04-26 09:30:57 -0400
committerRich Bennett <rb2745@att.com>2018-04-26 09:42:54 -0400
commit9c3af50160a00efae37e8a397a046d1c786596f8 (patch)
treefab437abeee7d92988c93230568e7070f61b0ad7 /tox.ini
parent5079b4dc3225ccc14b677e5e2b5ab10538eec6f2 (diff)
Add tox environment for spellcheck
Updates to how-to use documentation for linkcheck and spellcheck Initial list of validword exceptions for immediate use of tox -espellcheck Validword exceptions will be improved when DOC-262 is complete Corrections of RST references based on recent Beijing contributions Change-Id: Ic82de1088fd961c2ad91493e8736777aede1cdb1 Signed-off-by: Rich Bennett <rb2745@att.com> Issue-ID: DOC-94
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a3520183c..d94b1129b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,13 @@ whitelist_externals =
echo
git
-[testenv:docs-linkcheck]
+[testenv:linkcheck]
deps = -r{toxinidir}/etc/requirements.txt
commands = sphinx-build -j 4 -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[testenv:spellcheck]
+deps =
+ -r{toxinidir}/etc/requirements.txt
+ sphinxcontrib-spelling
+commands =
+ sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -Dspelling_word_list_filename=validwords.txt -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spellcheck