Removing deprecated functions from readthedocs

Change-Id: I0cd81fa99652c0b6d82449892c4c22fdeba9b171
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/tox.ini b/tox.ini
index a2250a7..433b0a7 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