From a7df70769c2d33334f686dc7cbf2c3cfea2f40ae Mon Sep 17 00:00:00 2001 From: Guillaume Lambert Date: Tue, 2 Feb 2021 15:48:14 +0100 Subject: [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 Change-Id: I473ae1193c1e5b124c8532a1b8185f01c67c70de (cherry picked from commit 406a9c94549c014fab8d777a788832f3a9197703) --- docs/tox.ini | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 docs/tox.ini 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 -- cgit 1.2.3-korg