Skip to content

Commit

Permalink
Exclude GitHub from linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jun 13, 2023
1 parent 0dfc00e commit 46f0a19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
autodoc_typehints = "description"
autodoc_typehints_description_target = "documented"

# GitHub has rate limits
linkcheck_ignore = [
r"/~https://github.com/.*/(issues|pull|compare)/\d+",
r"https://twitter.com/.*",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down

0 comments on commit 46f0a19

Please sign in to comment.