From: czichy Date: Fri, 1 Sep 2023 06:24:01 +0000 (+0300) Subject: Removing deprecated functions from readthedocs X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=361faacb46d1f379406b205034c818fef37a9d76;p=ric-plt%2Fappmgr.git Removing deprecated functions from readthedocs Change-Id: Ibe6f35f41816ef0a81f21d164d2cb324570515c6 Signed-off-by: czichy --- diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 095222a..864f935 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,14 +1,19 @@ --- +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +# Required version: 2 formats: - htmlzip build: - image: latest + os: "ubuntu-22.04" + tools: + python: "3.7" python: - version: 3.7 install: - requirements: docs/requirements-docs.txt diff --git a/docs/index.rst b/docs/index.rst index 81be866..c0df0a9 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -28,3 +28,4 @@ Welcome to O-RAN Application Manager Documentation * :ref:`genindex` * :ref:`modindex` * :ref:`search` + diff --git a/tox.ini b/tox.ini index 8a8d0a4..92341f9 100644 --- a/tox.ini +++ b/tox.ini @@ -18,11 +18,12 @@ deps = sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 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] passenv = @@ -35,4 +36,5 @@ deps = sphinx sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck diff --git a/xapp_orchestrater/dev/docs/index.rst b/xapp_orchestrater/dev/docs/index.rst index d7e3537..61d4afc 100644 --- a/xapp_orchestrater/dev/docs/index.rst +++ b/xapp_orchestrater/dev/docs/index.rst @@ -23,3 +23,4 @@ The following is a list of projects hosted by this repo. xapp_onboarder/index.rst release-notes.rst + diff --git a/xapp_orchestrater/dev/docs/xapp_onboarder/index.rst b/xapp_orchestrater/dev/docs/xapp_onboarder/index.rst index cad4bf2..29deed9 100644 --- a/xapp_orchestrater/dev/docs/xapp_onboarder/index.rst +++ b/xapp_orchestrater/dev/docs/xapp_onboarder/index.rst @@ -14,3 +14,4 @@ xApp Onboarder overview.rst guide_index.rst + diff --git a/xapp_orchestrater/dev/tox.ini b/xapp_orchestrater/dev/tox.ini index 4d1d9fe..47fe4d5 100644 --- a/xapp_orchestrater/dev/tox.ini +++ b/xapp_orchestrater/dev/tox.ini @@ -15,13 +15,14 @@ deps = sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 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 @@ -31,4 +32,5 @@ deps = sphinx sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck diff --git a/xapp_orchestrater/dev/xapp_onboarder/tox.ini b/xapp_orchestrater/dev/xapp_onboarder/tox.ini index a66cd76..afca63f 100644 --- a/xapp_orchestrater/dev/xapp_onboarder/tox.ini +++ b/xapp_orchestrater/dev/xapp_onboarder/tox.ini @@ -41,4 +41,4 @@ commands= commands_post= local: bash -c 'kill -9 $(ps -x | grep "tests.mock_helm_repo.mock_helm_repo" | grep -v grep | cut -d" " -f1)' -whitelist_externals = bash +allowlist_externals = bash