fix(website): auto-wrap ASCII-art code blocks in generated skill pages (#16497)

Defensive: when the generator encounters a fenced code block containing
Unicode box-drawing characters, wrap it in `<!-- ascii-guard-ignore -->`
markers so the docs-site-checks lint (which scans inside code fences)
can't reject the page for a skill's own diagram.

Plain bash/python code blocks stay uncluttered — only blocks with box
chars get wrapped. Skill authors no longer have to remember to add the
ignore markers in every SKILL.md with ASCII art.

Fixes #15305.
This commit is contained in:
Teknium 2026-04-27 03:38:39 -07:00 committed by GitHub
parent 64a497bfa9
commit 65f648ee84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 134 additions and 1 deletions

View file