Skip to content

Commit 46f0a19

Browse files
committed
Exclude GitHub from linkcheck
1 parent 0dfc00e commit 46f0a19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
autodoc_typehints = "description"
3333
autodoc_typehints_description_target = "documented"
3434

35+
# GitHub has rate limits
36+
linkcheck_ignore = [
37+
r"https://github.com/.*/(issues|pull|compare)/\d+",
38+
r"https://twitter.com/.*",
39+
]
40+
3541
# Add any paths that contain templates here, relative to this directory.
3642
templates_path = ["_templates"]
3743

0 commit comments

Comments
 (0)