Skip to content

docs: getting started, integration guides, and documentation conventions - #235

Merged
lnorton89 merged 2 commits into
mainfrom
docs/integration-guides
Dec 2, 2026
Merged

lnorton89 merged 2 commits into
mainfrom
docs/integration-guides

Conversation

@lnorton89

Copy link
Copy Markdown
Collaborator

What

  • Getting started (docs/getting-started.md): explains copy, plates, contracts and routes; where each file goes and why; whether to draw cards at build time or per request; then one card from install to the post-deploy check. Its code blocks are the new type-checked examples/getting-started, and the doc test keeps them identical.
  • README quick start rewritten around the same five steps instead of a bare plate.
  • Integrations (docs/integrations.md): one index of every framework and host with its guide and status.
  • New guides for Astro, SvelteKit, React Router, Express, and other servers (Hono, Fastify, Bun.serve, Deno.serve), all in one template.
  • Status levels in docs/support.md: Hosted-certified, Locally certified, Runtime-certified, Recipe, Not supported. Hono and Fastify are marked Recipe.
  • Contract/plate split everywhere: pages import a renderer-free definePlate contract, and only image routes import the metaplate/node plate, so browser-bound page code never pulls in Satori or Resvg.
  • Documentation conventions in CONTRIBUTING.md, with the integration template enforced in tests/repo/documentation.test.ts.

Why

The docs told readers to "make a component" without saying where it goes, why, who calls it, or when it renders, and framework guidance existed only for Next.js.

Checks

  • npm run check passes.
  • The getting-started example was rendered end to end with metaplate render, and both cards were verified at 1200x630.
  • Not run: the framework-specific snippets in the Astro, SvelteKit, React Router and other-servers guides. The Astro, SvelteKit and React Router guides follow the release-gate fixtures in scripts/package/verify-package.mjs.

…entions

Explain copy, plates, contracts, and routes, where each file goes, and
when cards are drawn, with a type-checked first-card example. Add one
guide per framework in a fixed template with a stated support level,
index them on an Integrations page, and enforce the template in the
repository tests.
@lnorton89
lnorton89 merged commit 505871a into main Dec 2, 2026
12 checks passed
@lnorton89
lnorton89 deleted the docs/integration-guides branch December 2, 2026 04:15
@lnorton89 lnorton89 mentioned this pull request Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant