aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 6f02ca0b8bd75c4c182c9f564a7151e9698a2768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
minversion = 1.6
envlist =
    docs,
    docs-linkcheck
skipsdist = true

[testenv:docs]
basepython = python3
deps = -rdocs/requirements.txt
commands =
    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
    echo "Generated docs available in {toxinidir}/docs/_build/html"
whitelist_externals = echo

[testenv:docs-linkcheck]
basepython = python3
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck

[testenv:docs-releasenotes]
basepython=python3
deps = -rdocs/requirements.txt
commands = reno --rel-notes-dir docs/release/release-notes/ report

[testenv:docs-create-note]
basepython = python3
deps = -rdocs/requirements.txt
commands = reno --rel-notes-dir docs/release/release-notes/ new {posargs}