Skip to content

Commit

Permalink
Add configuration for linkchecking [#1569]
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack committed Aug 7, 2024
1 parent dbc9d4c commit 640b52a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,14 @@ def prose_list(items):
'pandas': ('https://pandas.pydata.org/docs', None),
'treetime': ('https://treetime.readthedocs.io/en/stable/', None),
}

# -- Linkchecking ------------------------------------------------------------

linkcheck_ignore = [
]
linkcheck_anchors_ignore_for_url = [
# Github uses anchor-looking links for highlighting lines but
# handles the actual resolution with Javascript, so skip anchor
# checks for Github URLs:
r'https://github.com',
]

0 comments on commit 640b52a

Please sign in to comment.