Skip to content

Commit c0c5fcd

Browse files
committed
[docs] don't check links' anchors
since github markdown pages won't contain anchors without the javascript to render them [skip CI]
1 parent 88796c7 commit c0c5fcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@
8585

8686
suppress_warnings = ['image.nonlocal_uri']
8787

88+
# don't check for the existence of anchors, since on e.g. github's rendered
89+
# markdown, the anchors are constructed by the rendering javascript, and
90+
# therefore not present in the initial response
91+
linkcheck_anchors = False
8892
# regex patterns for the beginning of links not to check
8993
linkcheck_ignore = [
9094
r'https?://(localhost|127\.0\.0\.1):\d+/', # local links

0 commit comments

Comments
 (0)