summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Lambert <guillaume.lambert@orange.com>2021-02-02 15:48:14 +0100
committerGuillaume Lambert <guillaume.lambert@orange.com>2021-02-15 14:51:05 +0100
commita7df70769c2d33334f686dc7cbf2c3cfea2f40ae (patch)
treed431d8fcbffcb927462e5a189ffc51e560bcfdaa
parente63cee60d9a795945d927823b58cf8835e979067 (diff)
[DOC] Remove tox.ini doppelganger
in docs folder - same profiles are declared in tox.ini. They can be called 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 (cherry picked from commit 406a9c94549c014fab8d777a788832f3a9197703)
-rw-r--r--docs/tox.ini44
1 files changed, 0 insertions, 44 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
deleted file mode 100644
index 9d8bf531a..000000000
--- a/docs/tox.ini
+++ /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