X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=8a3aaa6653f1d3ab3179071f9e2977507ce1de37;hb=514637b303ec7dc6390007be1a046189f7a9d169;hp=82507995b1ffc7f7576d0f5b27345a7018b68cb8;hpb=f6a48104c0a89a91dc36bb175c8ca301bfc9950d;p=sim%2Fa1-interface.git diff --git a/tox.ini b/tox.ini index 8250799..8a3aaa6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ # ================================================================================== -# Copyright (c) 2020 Nordix +# Copyright (c) 2020-2022 Nordix # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -48,23 +48,15 @@ commands = # doc jobs [testenv:docs] whitelist_externals = echo -basepython = python3 -deps = - sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - recommonmark - lfdocs-conf +basepython = python3.8 +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" [testenv:docs-linkcheck] skipsdist = true -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 +basepython = python3.8 +deps = -r{toxinidir}/docs/requirements-docs.txt +commands = + sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck