X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=3a1149e87628c5afdc5fbd1ae9587218b98d9cf0;hb=refs%2Ftags%2F2.5.0;hp=e09164c9eeaec7ee29c5d19d22621479d5aace5d;hpb=6e325de83c8469a93500a8c0b8f4458158ed6905;p=sim%2Fa1-interface.git diff --git a/tox.ini b/tox.ini index e09164c..3a1149e 100644 --- a/tox.ini +++ b/tox.ini @@ -47,15 +47,9 @@ commands = # doc jobs [testenv:docs] -whitelist_externals = echo +allowlist_externals = echo basepython = python3.8 -deps = - sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - sphinxcontrib-redoc - 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" @@ -63,10 +57,6 @@ commands = [testenv:docs-linkcheck] skipsdist = true basepython = python3.8 -deps = sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - sphinxcontrib-redoc - recommonmark - lfdocs-conf -commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +deps = -r{toxinidir}/docs/requirements-docs.txt +commands = + sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck