summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2020-10-04 21:40:14 +0200
committerFrançois Freitag <mail@franek.fr>2020-11-25 17:34:55 +0100
commit6b90a63f0862f4cbc31621d0daff8f52fde3ee64 (patch)
tree69af0d10090912da94033c4da9b66dfe462b3e22 /doc/conf.py
parentc848d4dd37e8ed54b67c9b0a843c82cae15e8958 (diff)
downloadsphinx-git-6b90a63f0862f4cbc31621d0daff8f52fde3ee64.tar.gz
Fix #6629: linkcheck: Handle rate-limiting
Follow the Retry-After header if present, otherwise use an exponential back-off.
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 80ee2b01c..b995cca08 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -110,7 +110,10 @@ texinfo_documents = [
1),
]
-intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/3/', None),
+ 'requests': ('https://requests.readthedocs.io/en/master', None),
+}
# Sphinx document translation with sphinx gettext feature uses these settings:
locale_dirs = ['locale/']