Skip to content

Commit

Permalink
Merge pull request #5023 from open-formulieren/ignore-github-links-wi…
Browse files Browse the repository at this point in the history
…th-anchors-in-linkcheck

💚 Ignore GitHub links with anchors in linkcheck
  • Loading branch information
sergei-maertens authored Jan 17, 2025
2 parents 7023c49 + b5012e8 commit 46f3859
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
r"https://www\.miniwebtool\.com/django-secret-key-generator/", # seems to block the requests user agent
]

linkcheck_anchors_ignore_for_url = [
r"https://.*github.*",
]

extlinks = {
"backend": ("https://github.com/open-formulieren/open-forms/issues/%s", "#%s"),
"sdk": ("https://github.com/open-formulieren/open-forms-sdk/issues/%s", "#%s"),
Expand Down

0 comments on commit 46f3859

Please sign in to comment.