From 9c3af50160a00efae37e8a397a046d1c786596f8 Mon Sep 17 00:00:00 2001 From: Rich Bennett Date: Thu, 26 Apr 2018 09:30:57 -0400 Subject: 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 Issue-ID: DOC-94 --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tox.ini') 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 -- cgit 1.2.3-korg