aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-11-08 12:20:08 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-08 12:20:08 +0000
commitbb23177521042d092d94922187b2a7cb9052c85a (patch)
treefbcea73deaee9a7d04796ff6cd2936b5c2ef2c56 /docs/tox.ini
parent365bdbc7853b4ca522899629c4ec653a06e5931a (diff)
parent0fb3b8f4d48a066259b8a9ea2a18d68d7644f8e5 (diff)
Merge "[RDT] Refactoring RTD"
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
new file mode 100644
index 0000000000..8bec1b5ba0
--- /dev/null
+++ b/docs/tox.ini
@@ -0,0 +1,32 @@
+[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
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+commands =
+ sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
+
+[testenv:docs-linkcheck]
+basepython = python3.8
+deps =
+ -r{toxinidir}/requirements-docs.txt
+ -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+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
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+commands =
+ sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
+