Skip to content

Commit

Permalink
Add smarter defaults for linkcheck.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
crypticC0der committed Dec 12, 2024
1 parent 2866c4d commit a5936e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
Expand Down

0 comments on commit a5936e3

Please sign in to comment.