Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 2.0 |
| 3 | envlist = |
| 4 | docs, |
| 5 | docs-linkcheck, |
| 6 | |
| 7 | skipsdist = true |
| 8 | |
| 9 | [testenv:docs] |
| 10 | basepython = python3 |
DW Talton | 1ab4494 | 2021-01-19 11:42:43 -0700 | [diff] [blame] | 11 | deps = |
Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 12 | sphinx |
| 13 | sphinx-rtd-theme |
| 14 | sphinxcontrib-httpdomain |
| 15 | recommonmark |
| 16 | lfdocs-conf |
Jessica Wagantall | 9fcfa70 | 2023-05-10 17:22:34 -0700 | [diff] [blame] | 17 | urllib3~=1.26.15 |
| 18 | allowlist_externals = echo |
Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 19 | commands = |
| 20 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
Aric Gardner | 2f78ee0 | 2019-10-01 17:13:08 -0400 | [diff] [blame] | 21 | |
Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 22 | echo "Generated docs available in {toxinidir}/docs/_build/html" |
Aric Gardner | 2f78ee0 | 2019-10-01 17:13:08 -0400 | [diff] [blame] | 23 | |
Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 24 | whitelist_externals = echo |
| 25 | |
| 26 | [testenv:docs-linkcheck] |
| 27 | basepython = python3 |
| 28 | deps = sphinx |
| 29 | sphinx-rtd-theme |
| 30 | sphinxcontrib-httpdomain |
| 31 | recommonmark |
| 32 | lfdocs-conf |
Jessica Wagantall | 9fcfa70 | 2023-05-10 17:22:34 -0700 | [diff] [blame] | 33 | urllib3~=1.26.15 |
Aric Gardner | f934b3d | 2019-09-23 13:06:27 -0400 | [diff] [blame] | 34 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |