Skip to content

docs: rework structure and flow around the standard-handler narrative - #272

Open
antfubot wants to merge 1 commit into
mainfrom
docs/rework-structure-flow
Open

docs: rework structure and flow around the standard-handler narrative#272
antfubot wants to merge 1 commit into
mainfrom
docs/rework-structure-flow

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

What & why

Reworks the documentation structure and flow so the docs tell the same story as the Pluggable, Extensible, and Playful DevTools article: build a devtool once, then mount it anywhere.

Previously the landing page and guide led with a CLI-first, "Devframe is an asset" framing, and initDevframe() — the actual portability boundary — was buried as one entry in the adapters list. This reorganizes everything around the narrative spine the article uses.

Changes

  • Landing page (docs/index.md): new hero and six features following the arc — one definition/one standard handler → adapters as conveniences → type-safe RPC & shared state → visual and agentic → from one devframe to a hub → built-in plugins across frameworks.
  • Guide introduction (docs/guide/index.md): rewritten as a narrative — the shared boundary, one definition/one standard handler, adapters as conveniences, visual and agentic, from one devframe to a hub, inheriting the ecosystem — then install, hello-world, and a reference table.
  • The Standard Handler: docs/adapters/initiate.md is retitled and reframed as the boundary every serving path is built on; docs/adapters/index.md now positions adapters as conveniences over it and leads its comparison table with the handler.
  • Sidebar & nav (docs/.vitepress/config.ts): guide regrouped into narrative sections — Introduction, Define your tool, Mount anywhere, Visual & agentic, Compose a hub, Customize the UI — and the adapters list leads with the Standard Handler.

Accuracy fixes found along the way

  • RPC is described as validated against any Standard Schema validator, not "birpc + valibot" (valibot is not a runtime dependency of devframe).
  • The hosted default base is corrected to /__<id>/ (the guide intro previously said /.<id>/).

Validation

  • pnpm run docs:build passes (VitePress dead-link checking is active and reports none).
  • ESLint passes on all changed files (via the pre-commit hook).

This PR was created with the help of an agent.

Reorganize the documentation to follow the define-once/mount-anywhere story:
one definition, one standard handler, adapters as conveniences, visual and
agentic, then composing a hub and inheriting the ecosystem.

- Reframe the landing page and guide introduction around this narrative.
- Elevate initDevframe() as 'The Standard Handler' — the boundary every
  serving path is built on — and position adapters as conveniences over it.
- Regroup the guide sidebar/nav into narrative sections (Define your tool,
  Mount anywhere, Visual & agentic, Compose a hub, Customize the UI).
- Fix stale claims: RPC is validated against any Standard Schema validator
  (not 'birpc + valibot'), and the hosted default base is /__<id>/.

Created with the help of an agent.
@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 304410c
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a86bc96c6346e000823251d
😎 Deploy Preview https://deploy-preview-272--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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