Removing deprecated functions from readthedocs 57/11757/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:58 +0000 (10:44 +0300)
Change-Id: Ied59d9d7ff74b33ced0bbe69de8789a8ccc948d4
Signed-off-by: czichy <thoralf.czichy@nokia.com>
.readthedocs.yaml
docs/index.rst
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:
 version: 2
 
 formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools: 
+    python: "3.7"
 
 python:
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt
 
   install:
     - requirements: docs/requirements-docs.txt
 
index 1e66a01..3b0a040 100644 (file)
@@ -30,3 +30,4 @@ Welcome to O-RAN Shared Data Layer (SDL) in C++ Documentation
 * :ref:`genindex`
 * :ref:`modindex`
 * :ref:`search`
 * :ref:`genindex`
 * :ref:`modindex`
 * :ref:`search`
+
diff --git a/tox.ini b/tox.ini
index c86cfdf..1246bb7 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,11 +14,12 @@ deps =
     sphinxcontrib-httpdomain
     recommonmark
     lfdocs-conf
     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"
 
 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
 
 [testenv:docs-linkcheck]
 basepython = python3
@@ -27,4 +28,5 @@ deps = sphinx
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck