aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-02-13 09:58:38 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2016-02-13 09:58:38 -0500
commit357f977bf4d68122c5665dc3f2690406117c0dcb (patch)
tree7f2903b01f279cc4cfa905061d86a93051fb8974 /docs/conf.py
parent1e44d88bd84c6f1ed8b44640a8513f4de46b9743 (diff)
downloadcryptography-357f977bf4d68122c5665dc3f2690406117c0dcb.tar.gz
cryptography-357f977bf4d68122c5665dc3f2690406117c0dcb.tar.bz2
cryptography-357f977bf4d68122c5665dc3f2690406117c0dcb.zip
Make the linkcheck builder more resillient against transient network errors.
Not in a release yet, but landed on master: https://github.com/sphinx-doc/sphinx/pull/2312 We'll start at 2 retries and increase if it turns out to be insufficient to handle real world transient errors.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index dcc9c626..643eddba 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -273,3 +273,7 @@ texinfo_documents = [
intersphinx_mapping = {'https://docs.python.org/3': None}
epub_theme = 'epub'
+
+# Retry requests in the linkcheck builder so that we're resillient against
+# transient network errors.
+linkcheck_retries = 2