diff options
author | thmsdt <thomas.kulik@telekom.de> | 2023-04-03 13:33:06 +0200 |
---|---|---|
committer | thmsdt <thomas.kulik@telekom.de> | 2023-04-17 12:40:50 +0200 |
commit | 2f07ec8a22ccce11ebe01f7d9ed9f947631d97ff (patch) | |
tree | 7c0183193fd2cfe4a34f08f1c6c115427f2279b0 /docs/tox.ini | |
parent | b0c6c0b98a4fefcd0b2c88102a06a61c5d624cd0 (diff) |
move requirements file and correct path in tox.ini
Issue-ID: DOC-811
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Change-Id: I7c1b2bb3bd2357d2de5458d4791d8ee20affc682
Diffstat (limited to 'docs/tox.ini')
-rw-r--r-- | docs/tox.ini | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/tox.ini b/docs/tox.ini new file mode 100644 index 000000000..a90bc6429 --- /dev/null +++ b/docs/tox.ini @@ -0,0 +1,33 @@ +[tox] +minversion = 1.6 +envlist = docs,docs-linkcheck,docs-spellcheck +skipsdist = true + +[testenv:docs] +basepython = python3.8 +deps = + -r{toxinidir}/requirements-docs.txt + -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -c{toxinidir}/../etc/upper-constraints.onap.txt +commands = + sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html +allowlist_externals = + git + sh + +[testenv:docs-linkcheck] +basepython = python3.8 +deps = + -r{toxinidir}/requirements-docs.txt + -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -c{toxinidir}/../etc/upper-constraints.onap.txt +commands = sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck + +[testenv:docs-spellcheck] +basepython = python3.8 +deps = + -r{toxinidir}/requirements-docs.txt + -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -c{toxinidir}/../etc/upper-constraints.onap.txt +commands = + sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |