requirements-docs.txt: add urllib3~=1.26.15
[pti/rtp.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index db50ddf..f2888fc 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,9 +1,9 @@
+# documentation only
 [tox]
 minversion = 2.0
 envlist =
     docs,
     docs-linkcheck,
-
 skipsdist = true
 
 [testenv:docs]
@@ -14,13 +14,12 @@ 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 +28,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