The editor experience can compose MDX, frontmatter, and page metadata into a generated docs artifact.
Draft with props
Render shared components inside the product app to preview content before publishing.
Export artifacts
At build time, convert source content into the JSON bundle used by the static docs site.
Keep contracts stable
A stable schema between authoring and rendering is more valuable than a long list of custom page types.