Removing deprecated functions from readthedocs

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