Removing deprecated functions from readthedocs 23/11723/3
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:51 +0000 (10:44 +0300)
Change-Id: I0cd81fa99652c0b6d82449892c4c22fdeba9b171
Signed-off-by: czichy <thoralf.czichy@nokia.com>
.readthedocs.yaml
docs/index.rst
tox.ini

index 3797dc8..864f935 100644 (file)
@@ -9,10 +9,11 @@ formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools: 
+    python: "3.7"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt
 
index d8457fd..4a97cf4 100644 (file)
@@ -36,3 +36,4 @@ Welcome to O-RAN SC Routing Manager
 * :ref:`genindex`
 * :ref:`modindex`
 * :ref:`search`
+
diff --git a/tox.ini b/tox.ini
index a2250a7..433b0a7 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,13 +14,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
@@ -29,4 +30,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