Skip to content

Commit

Permalink
Ignore GH file line-range during link-check
Browse files Browse the repository at this point in the history
Allows link in simple repo API spec
  • Loading branch information
EpicWink committed Jan 5, 2024
1 parent 735196b commit e875393
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@
# https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
"https://www.breezy-vcs.org/*",
]
linkcheck_anchors_ignore = [
"^!", # default
r"L\d+(-L\d+)?", # GitHub file line (range) references
]
linkcheck_retries = 5

# -- Options for extlinks ----------------------------------------------------------
Expand Down

0 comments on commit e875393

Please sign in to comment.