E. Scott Daniels | e7cb2aa | 2021-02-09 09:51:15 -0500 | [diff] [blame] | 1 | # This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | # SPDX-License-Identifier: CC-BY-4.0 |
| 3 | # Copyright (C) 2019 AT&T Intellectual Property |
| 4 | # documentation only |
| 5 | |
| 6 | [tox] |
| 7 | minversion = 2.0 |
| 8 | envlist = |
| 9 | docs, |
| 10 | docs-linkcheck, |
| 11 | skipsdist = true |
| 12 | |
| 13 | [testenv:docs] |
| 14 | basepython = python3 |
| 15 | deps = |
| 16 | sphinx |
| 17 | sphinx-rtd-theme |
| 18 | sphinxcontrib-httpdomain |
| 19 | recommonmark |
| 20 | lfdocs-conf |
czichy | c3c1bdf | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 21 | urllib3~=1.26.15 |
E. Scott Daniels | e7cb2aa | 2021-02-09 09:51:15 -0500 | [diff] [blame] | 22 | |
| 23 | commands = |
| 24 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
| 25 | echo "Generated docs available in {toxinidir}/docs/_build/html" |
czichy | c3c1bdf | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 26 | allowlist_externals = echo |
E. Scott Daniels | e7cb2aa | 2021-02-09 09:51:15 -0500 | [diff] [blame] | 27 | |
| 28 | [testenv:docs-linkcheck] |
| 29 | basepython = python3 |
| 30 | deps = sphinx |
| 31 | sphinx-rtd-theme |
| 32 | sphinxcontrib-httpdomain |
| 33 | recommonmark |
| 34 | lfdocs-conf |
czichy | c3c1bdf | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 35 | urllib3~=1.26.15 |
E. Scott Daniels | e7cb2aa | 2021-02-09 09:51:15 -0500 | [diff] [blame] | 36 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |