Skip to content

docs(plugins): standardize on pnpx and unify plugin docs structure#123

Merged
antfu merged 1 commit into
mainfrom
docs/unify-plugin-docs-cli-pnpx
Jul 22, 2026
Merged

docs(plugins): standardize on pnpx and unify plugin docs structure#123
antfu merged 1 commit into
mainfrom
docs/unify-plugin-docs-cli-pnpx

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Summary

  • Every CLI instruction across docs/plugins/*.md, plugins/*/README.md, and the cli.ts doc-comments now reads pnpx @devframes/plugin-xxxx — no more npx, and no more bare bin names run directly (e.g. devframe-data-inspector, devframe-git).
  • Every docs/plugins/*.md page now follows the same shape: What it does → (plugin-specific sections) → StandaloneMount into a Vite hostProgrammaticRPC surfaceSource.
  • Filled in the gaps that unifying the structure surfaced:
    • a11y.md had the wrong package name (@devframes/a11y instead of @devframes/plugin-a11y) and was missing Standalone, Mount into a Vite host, Programmatic, and RPC surface sections.
    • og.md was missing the Package/framework line, What it does, Mount into a Vite host, RPC surface, and Source sections.
    • data-inspector.md was missing a Source section and a Programmatic section, and its standalone section used the bare CLI bin instead of pnpx.
    • terminals.md was missing an RPC surface table.

Docs only — no behavior changes.


Generated with the help of an agent.

- Replace every npx / bare-bin CLI instruction across docs/plugins/*.md,
  plugins/*/README.md, and cli.ts doc-comments with
  `pnpx @devframes/plugin-xxxx`.
- Give every docs/plugins/*.md page the same shape: What it does,
  Standalone, Mount into a Vite host, Programmatic, RPC surface, Source.
- Fill in the gaps this surfaced: a fixed package name in a11y.md, and
  new Standalone / Mount / Programmatic / RPC surface / Source sections
  for og.md, a11y.md, data-inspector.md, and terminals.md.

Docs only; generated with the help of an agent.
@netlify

netlify Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit ec82821
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a60575c79237800084c394a
😎 Deploy Preview https://deploy-preview-123--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.

@antfu
antfu merged commit 5d82369 into main Jul 22, 2026
12 checks passed
@antfu
antfu deleted the docs/unify-plugin-docs-cli-pnpx branch July 22, 2026 05:40
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.

2 participants