X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=22f612e1d077e455f949e2296e327e1c683b7fed;hb=refs%2Fheads%2Fmaster;hp=e35f37500fab5336b7c4a9e0fb826d883e6912a5;hpb=660fe5384e6f0652e8754e0f2365b4f5355a49c5;p=oam.git diff --git a/tox.ini b/tox.ini index e35f375..22f612e 100644 --- a/tox.ini +++ b/tox.ini @@ -8,13 +8,8 @@ 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" @@ -22,9 +17,5 @@ allowlist_externals = echo [testenv:docs-linkcheck] basepython = python3 -deps = sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - recommonmark - lfdocs-conf +deps = -r{toxinidir}/docs/requirements-docs.txt commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck \ No newline at end of file