blob: 00d06df30a1099870d74aef5bfffff220018202c [file] [log] [blame]
Lott, Christopher (cl778h)f28cd742020-04-22 17:31:33 -04001# 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
21
22commands =
23 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
24 echo "Generated docs available in {toxinidir}/docs/_build/html"
25whitelist_externals = echo
26
27[testenv:docs-linkcheck]
28basepython = python3
29deps = sphinx
30 sphinx-rtd-theme
31 sphinxcontrib-httpdomain
32 recommonmark
33 lfdocs-conf
34commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck