X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=e69167ffbe44267d054ddd916aac4c09898c983b;hb=refs%2Fheads%2Fmaster;hp=9ab0da4432cee7112f7a675843d3f26a7b1cc446;hpb=5819a22f14fc06d8df36ce4ee31390b73161a27a;p=sim%2Fo1-interface.git diff --git a/tox.ini b/tox.ini index 9ab0da4..e69167f 100644 --- a/tox.ini +++ b/tox.ini @@ -8,23 +8,14 @@ skipsdist = true [testenv:docs] basepython = python3 -deps = - sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - recommonmark - lfdocs-conf - +deps = -r{toxinidir}/docs/requirements-docs.txt + 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 +allowlist_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 \ No newline at end of file +deps = -r{toxinidir}/docs/requirements-docs.txt +commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck