Skip to content

Commit

Permalink
Block github from linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Feb 15, 2022
1 parent 356ab35 commit 8af3318
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,13 @@ def find_version(*file_paths):
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False

# GitHub has rate limits
linkcheck_ignore = [
# throws a 406 for unknown reasons
r"https://github.com/prometheus/client_python#twisted",
r"https://github.com/prometheus/client_python#counter",
r"https://github.com/.*/(issues|pull)/\d+",
r"https://twitter.com/.*",
]


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
"https://docs.python.org/3": None,
Expand Down

0 comments on commit 8af3318

Please sign in to comment.