From 357f977bf4d68122c5665dc3f2690406117c0dcb Mon Sep 17 00:00:00 2001
From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Sat, 13 Feb 2016 09:58:38 -0500
Subject: 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.
---
 docs/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'docs/conf.py')

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
-- 
cgit v1.2.3