Repository navigation
What changed
@perfectpan/lint-config/doc-translations now handles documentation-site pages (#14):
- A code block's language and body must still match, but the rest of the info string, such as a
title="…"caption, may be translated. The mismatch message sayslanguagewhere it saidinfo string. - YAML frontmatter that opens a document is not compared on either side, and a translation's
headeris the first line after it. - With
stamp: true, a translation that has frontmatter keeps the stamp there as asource-blob: <hash>key, which--writeadds before the closing---or replaces; a key written by hand in another form (quoted, other spacing, a malformed or multi-line value, a repeat) is reported and replaced, never kept beside a second key. Before,--writeput the<!-- source-blob: … -->comment above the frontmatter of a page without a header, and MDX does not compile HTML comments. A site whose page schema rejects unknown keys declaressource-blob; fumadocs' default schema strips it.
Translations without frontmatter are checked and recorded exactly as before.
What newly fails
Nothing: both changes accept more. Read-only runs: PerfectPan/estela 0 findings before and after (15 pairs); PerfectPan/rivus-agent the same 6 findings as v0.9.0; PerfectPan/agent-kit, not yet a consumer, goes from 5 findings (translated code titles) to 1 (a translated comment inside a code block, which the check was hiding behind the title report).
Upgrade
Change github:PerfectPan/lint-config#v0.9.0 to #v0.9.1 and reinstall.