X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=e662239bc86b7d237b82ef33254ad9f7dc5ee4f8;hb=3d833c77411ce4695c104c4c3c1da3c042d4b58b;hp=0000000000000000000000000000000000000000;hpb=f81020e19cd19e703f7d8427a36be022487be6c3;p=ric-app%2Fml.git diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..e662239 --- /dev/null +++ b/tox.ini @@ -0,0 +1,33 @@ +# This work is licensed under a Creative Commons Attribution 4.0 International License. +# SPDX-License-Identifier: CC-BY-4.0 +# Copyright (C) 2019 AT&T Intellectual Property + +# documentation only +[tox] +minversion = 2.0 +envlist = + docs, + docs-linkcheck, +skipsdist = true + +[testenv:docs] +basepython = python3 +deps = + sphinx + sphinx-rtd-theme + sphinxcontrib-httpdomain + recommonmark + lfdocs-conf +commands = + sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + echo "Generated docs available in {toxinidir}/docs/_build/html" +whitelist_externals = echo + +[testenv:docs-linkcheck] +basepython = python3 +deps = sphinx + sphinx-rtd-theme + sphinxcontrib-httpdomain + recommonmark + lfdocs-conf +commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck