From a5936e3530c092fd123c7ecd1a71acfb2e59b45e Mon Sep 17 00:00:00 2001 From: MJ Ponsonby Date: Thu, 12 Dec 2024 15:55:14 +0000 Subject: [PATCH] Add smarter defaults for linkcheck. This includes a default of 3 retires on failure and then makes the timeout option more visible within the config file. These are based on a fixing change to MicroOVN where we were having instability in linkchecks. Signed-off-by: MJ Ponsonby --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index e651a79..123f416 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -195,6 +195,9 @@ linkcheck_anchors_ignore_for_url = [r"https://github\.com/.*"] +# give linkcheck multiple tries on failure +# linkcheck_timeout = 30 +linkcheck_retries = 3 ######################## # Configuration extras #