1 ##############################################################################
2 # Copyright (c) 2019 Linux Foundation and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
16 deps = -rdocs/requirements.txt
18 sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
19 echo "Generated docs available in {toxinidir}/docs/_build/html"
20 whitelist_externals = echo
22 [testenv:docs-linkcheck]
23 deps = -rdocs/requirements.txt
24 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck