Docs: align MDX component guidance with actual snippets/partials layout #128
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#128
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
The wiki authoring docs still give slightly stale guidance around reusable MDX components:
docs/en/handbook/style-guide.mdxanddocs/es/handbook/style-guide.mdxshow an explicit import example for../_partials/ServicenodeCallout.mdx, but that file does not exist in the repo.README.mdandCONTRIBUTING.mdstill describe reusable callouts/components as if they only come fromdocs/<locale>/_partials, even though the repo also uses auto-registered exports fromdocs/<locale>/snippets/.That makes the docs self-contradictory and gives contributors a copy-paste example that fails immediately.
Impact
snippets/convention that the repo already relies on.Acceptance criteria
ServicenodeCalloutexample with guidance that only references files/components that actually exist in the repo.docs/<locale>/snippets/components from explicitly importeddocs/<locale>/_partials/fragments.npm run ci.