Removing deprecated functions from readthedocs 20/11720/3 i-release
authorczichy <thoralf.czichy@nokia.com>
Fri, 1 Sep 2023 06:24:01 +0000 (09:24 +0300)
committerczichy <thoralf.czichy@nokia.com>
Fri, 1 Sep 2023 07:44:42 +0000 (10:44 +0300)
Change-Id: Ibe6f35f41816ef0a81f21d164d2cb324570515c6
Signed-off-by: czichy <thoralf.czichy@nokia.com>
.readthedocs.yaml
docs/index.rst
tox.ini
xapp_orchestrater/dev/docs/index.rst
xapp_orchestrater/dev/docs/xapp_onboarder/index.rst
xapp_orchestrater/dev/tox.ini
xapp_orchestrater/dev/xapp_onboarder/tox.ini

index 095222a..864f935 100644 (file)
@@ -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
 
index 81be866..c0df0a9 100644 (file)
@@ -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 (file)
--- 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
index d7e3537..61d4afc 100644 (file)
@@ -23,3 +23,4 @@ The following is a list of projects hosted by this repo.
    xapp_onboarder/index.rst
    release-notes.rst
 
+
index 4d1d9fe..47fe4d5 100644 (file)
@@ -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
index a66cd76..afca63f 100644 (file)
@@ -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