Docs: frontmatter lang schema should match supported locales #143
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/wiki#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
schemas/frontmatter.schema.jsoncurrently acceptslangvalues forfr,de,pt,it, andja, even though this repository only shipsdocs/en/**anddocs/es/**content and the build/search scripts only enumerateen/esas supported locales.Evidence
en,es,fr,de,pt,it,ja.docs/en/**anddocs/es/**.main:docs/en/__tmp-invalid-lang.mdxwith valid frontmatter exceptlang: fr.npm run lint:frontmatter:runstill exited 0 and reportedValidated 31 markdown files.Impact
Contributors can accidentally stamp unsupported locale metadata onto pages and still pass CI. That makes the docs contract looser than the actual repository/build pipeline, and it increases the risk of stale or misleading localization metadata getting committed.
Acceptance criteria
langvalues outside the currently supported repo locales.npm run cipasses after the validator/docs update.