From 5272dca758641a7752a3a4d9ccc9c4709aa68c4d Mon Sep 17 00:00:00 2001 From: "Rishi.Chail" Date: Tue, 23 Feb 2021 12:14:24 +0000 Subject: Initial/docs folder setup Issue-ID: CPS-176 Signed-off-by: Rishi.Chail Change-Id: I765ac67703303982a28f301ece70d87605c2e835 --- docs/tox.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/tox.ini (limited to 'docs/tox.ini') diff --git a/docs/tox.ini b/docs/tox.ini new file mode 100644 index 000000000..edac8c35f --- /dev/null +++ b/docs/tox.ini @@ -0,0 +1,22 @@ +[tox] +minversion = 1.6 +envlist = docs, +skipsdist = true + +[testenv:docs] +basepython = python3 +deps = -r{toxinidir}/requirements-docs.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html + echo "Generated docs available in {toxinidir}/_build/html" +whitelist_externals = + echo + git + sh + +[testenv:docs-linkcheck] +basepython = python3 +#deps = -r{toxinidir}/requirements-docs.txt +commands = echo "Link Checking not enforced" +#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck +whitelist_externals = echo -- cgit 1.2.3-korg