Skip to content

Commit cff27e0

Browse files
committed
ci: tolerate hyperlink false positives in MyST /development/ site
netlify-plugin-checklinks (hyperlink) now traverses the full cookie site and flags two non-issues: its parser fails on MyST's bundled mermaid chunk, and it reports valid in-page fragments as broken when the target goes through MyST pretty-URL normalization. Mark both as todoPatterns so real broken links still fail the build. Assisted-by: ClaudeCode:claude-opus-4.8
1 parent d3ebd34 commit cff27e0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@
2222

2323
[plugins.inputs]
2424
skipPatterns = ['https://fonts.gstatic.com', 'https://fonts.googleapis.com', "https://unpkg.com"]
25+
# Tolerate two unavoidable artifacts of link-checking the MyST-built
26+
# `/development/` site: hyperlink's parser chokes on MyST's bundled
27+
# mermaid chunk (`static {}` class blocks), and it reports valid
28+
# in-page fragments as failures when the target passes through MyST's
29+
# pretty-URL normalization (e.g. /pages/guides/pytest -> .../index.html).
30+
todoPatterns = ['fragment-redirect', 'mermaid.core']

0 commit comments

Comments
 (0)