diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-13 09:58:38 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-13 09:58:38 -0500 |
commit | 357f977bf4d68122c5665dc3f2690406117c0dcb (patch) | |
tree | 7f2903b01f279cc4cfa905061d86a93051fb8974 | |
parent | 1e44d88bd84c6f1ed8b44640a8513f4de46b9743 (diff) | |
download | cryptography-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.
-rw-r--r-- | docs/conf.py | 4 |
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 |