blob: 7e9c7665441c925227d622b5db4c19cf98942261 [file] [log] [blame]
E. Scott Danielse7cb2aa2021-02-09 09:51:15 -05001# 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]
7minversion = 2.0
8envlist =
9 docs,
10 docs-linkcheck,
11skipsdist = true
12
13[testenv:docs]
14basepython = python3
15deps =
16 sphinx
17 sphinx-rtd-theme
18 sphinxcontrib-httpdomain
19 recommonmark
20 lfdocs-conf
czichyc3c1bdf2023-09-01 09:24:01 +030021 urllib3~=1.26.15
E. Scott Danielse7cb2aa2021-02-09 09:51:15 -050022
23commands =
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"
czichyc3c1bdf2023-09-01 09:24:01 +030026allowlist_externals = echo
E. Scott Danielse7cb2aa2021-02-09 09:51:15 -050027
28[testenv:docs-linkcheck]
29basepython = python3
30deps = sphinx
31 sphinx-rtd-theme
32 sphinxcontrib-httpdomain
33 recommonmark
34 lfdocs-conf
czichyc3c1bdf2023-09-01 09:24:01 +030035 urllib3~=1.26.15
E. Scott Danielse7cb2aa2021-02-09 09:51:15 -050036commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck