Skip to content

Commit 1735f70

Browse files
authored
Merge pull request #1484 from jeanas/linkcheck
Fix linkcheck
2 parents 8079afc + c84d3a6 commit 1735f70

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@
109109
"https://www.breezy-vcs.org/*",
110110
]
111111
linkcheck_retries = 5
112+
# Ignore anchors for links to GitHub project pages -- GitHub adds anchors from
113+
# README.md headings through JavaScript, so Sphinx's linkcheck can't find them
114+
# in the HTML.
115+
linkcheck_anchors_ignore_for_url = [
116+
r"https://github\.com/",
117+
]
112118

113119
# -- Options for extlinks ----------------------------------------------------------
114120
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#configuration

0 commit comments

Comments
 (0)