Documentation Update Policy
Non-negotiable rule
- Every user-facing change must update documentation in the same PR.
User-facing includes:
- public APIs (builder methods, types, exports)
- behavior/defaults (layout, anchors, runtime patching conflict rules)
- animations/overlays (spec fields, playback semantics, registries)
- CSS hooks (classes,
--viz-*variables) - examples and demo behavior
What to update
README.md(high-level overview + quick start)packages/core/README.md(keep aligned with root README when relevant)packages/docs/docs/**(comprehensive documentation)
What good doc updates look like
- Add a short “why” and a clear mental model.
- Provide copy/paste-able examples.
- Call out edge cases, back-compat, and migration notes.
- Link to type anchors in
types.mdxwhen you introduce new concepts.
Definition of done
- Code compiles/tests.
- Docs explain the new behavior.
- Examples reflect the final API and run without guesswork.
Source: ChipiKaf/vizcraft — distributed by TomeVault.