From 83e93916e8ef5380e2663f89eaf39423238da36d Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Thu, 9 Jan 2020 17:13:50 +0100 Subject: [PATCH] [CI Docs] Allow linkcheck to retry before declaring link broken (#3276) * Update conf.py * Create 3276.misc.rst --- changelog.d/3276.misc.rst | 1 + docs/conf.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/3276.misc.rst diff --git a/changelog.d/3276.misc.rst b/changelog.d/3276.misc.rst new file mode 100644 index 000000000..43a805612 --- /dev/null +++ b/changelog.d/3276.misc.rst @@ -0,0 +1 @@ +Made docs linkcheck try link 3 times before declaring it broken. diff --git a/docs/conf.py b/docs/conf.py index 738c0396a..a7b379e36 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -207,6 +207,7 @@ texinfo_documents = [ # A list of regular expressions that match URIs that should not be # checked when doing a linkcheck build. linkcheck_ignore = [r"https://java.com*", r"https://chocolatey.org*"] +linkcheck_retries = 3 # -- Options for extensions -----------------------------------------------