Skip to content

Commit 55c688a

Browse files
committed
docs: stop checking anchors on GitHub.com
1 parent e906fd0 commit 55c688a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
r"https://github.com/.*/(issues|pull)/\d+",
3333
# Rate limits and the latest tag is missing anyways on release.
3434
"https://github.com/python-attrs/attrs/tree/.*",
35-
# GitHub just completely broke anchors hashtag modern web dev.
36-
"https://github.com/python-attrs/attrs/commit/88aa1c897dfe2ee4aa987e4a56f2ba1344a17238#diff-4fc63db1f2fcb7c6e464ee9a77c3c74e90dd191d1c9ffc3bdd1234d3a6663dc0R48",
35+
]
36+
37+
linkcheck_anchors_ignore_for_url = [
38+
r"^https?://(www\.)?github\.com/.*",
3739
]
3840

3941
# In nitpick mode (-n), still ignore any of the following "broken" references

0 commit comments

Comments
 (0)