From: halil.cakal Date: Tue, 2 Aug 2022 15:17:29 +0000 (+0100) Subject: Move deps from tox to requirements file X-Git-Tag: 2.4.0~5 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fa1-interface.git;a=commitdiff_plain;h=f0ec1252e0c98e4ee6989ea0a1e0eef9dd06c91b Move deps from tox to requirements file Issue-ID: NONRTRIC-771 Change-Id: I20530584e0038c8e954f465254b1ef61177f7328 Signed-off-by: halil.cakal --- diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 09a0c1c..4cfc69f 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,5 +1,9 @@ sphinx sphinx-rtd-theme +sphinx-bootstrap-theme sphinxcontrib-httpdomain +sphinxcontrib-redoc +sphinxcontrib-needs +sphinxcontrib-swaggerdoc recommonmark lfdocs-conf diff --git a/near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml b/near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml index 043e984..72821cd 100644 --- a/near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml +++ b/near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml @@ -8,7 +8,7 @@ info: All rights reserved. externalDocs: description: 'An external server building CRUD RestFUL APIs which is provisioned by A1 simulator. It will be a refrence point for the callouts' - url: 'https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/latest/external-server.html' + url: 'https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/latest/EXT_SRV_api.html' servers: - url: '{apiRoot}' variables: diff --git a/tox.ini b/tox.ini index e09164c..8a3aaa6 100644 --- a/tox.ini +++ b/tox.ini @@ -49,13 +49,7 @@ commands = [testenv:docs] whitelist_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