Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit badabd7

Browse files
committed
Ignore localhost links for linkcheck
This excludes http://localhost from the periodic check for broken links
1 parent 3209774 commit badabd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
http://www.diamond.ac.uk
8989
"""
9090

91+
# Ignore localhost links for period check that links in docs are valid
92+
linkcheck_ignore = [r"http://localhost:\d+/"]
93+
9194
# -- Options for HTML output -------------------------------------------------
9295

9396
# The theme to use for HTML and HTML Help pages. See the documentation for

0 commit comments

Comments
 (0)