Removing deprecated functions from readthedocs

Change-Id: I5ca1d3a7f705384525620d3ca1c9ca5c6eec40a7
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/tox.ini b/tox.ini
index db50ddf..75c19da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,13 +14,14 @@
     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 @@
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck