[DOC] Remove tox.ini doppelganger 70/117370/2
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:48:14 +0000 (15:48 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:58:34 +0000 (15:58 +0100)
in docs folder

- same profiles are declared in tox.ini.
  They can be calld from the docs folder without it.
- once run from the docs folder, this generates invalid files
  in doc/.tox for linters setup (e.g.  docs/.tox/[..]/invalid.rst).
  They can cause warnings treated as errors by root tox profiles.

Issue-ID: DOC-692
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I473ae1193c1e5b124c8532a1b8185f01c67c70de

docs/tox.ini [deleted file]

diff --git a/docs/tox.ini b/docs/tox.ini
deleted file mode 100644 (file)
index 9d8bf53..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-[tox]
-minversion = 1.6
-envlist = docs,
-#         docs-linkcheck,
-
-skipsdist = true
-
-[testenv:docs]
-basepython = python3
-deps = -r{toxinidir}/../etc/requirements.txt
-commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
-    echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals =
-    echo
-    git
-    sh
-
-[testenv:local]
-basepython = python3
-deps = -r{toxinidir}/../etc/requirements.txt
-commands =
-    git submodule update --depth 100 --init
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
-    echo "Generated docs available in {toxinidir}/_build/html"
-whitelist_externals =
-    echo
-    git
-
-[testenv:docs-linkcheck]
-basepython = python3
-deps = -r{toxinidir}/../etc/requirements.txt
-commands = echo "Link Checking not enforced"
-#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
-whitelist_externals =
-    echo
-
-[testenv:spellcheck]
-basepython = python3
-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 ./ {toxinidir}/_build/spellcheck