Skip to content

docs: revise tone — positive framing, fewer callouts, kit-first#321

Merged
antfu merged 1 commit into
mainfrom
antfu/docs-tone-revision
May 8, 2026
Merged

docs: revise tone — positive framing, fewer callouts, kit-first#321
antfu merged 1 commit into
mainfrom
antfu/docs-tone-revision

Conversation

@antfu
Copy link
Copy Markdown
Member

@antfu antfu commented May 8, 2026

Description

Sweeping editorial pass over docs/ and devframe/docs/ (29 files; -808/+690 lines):

  • Positive framing. Drop "X is for Y, not Z" constructions and roadmap phrases ("not yet implemented", "dev mode planned") in favour of present-tense scope.
  • Sparing callouts. Reserve [!WARNING] for genuinely critical material — kept on experimental APIs, added one to remote-client URL token leakage. Folded [!NOTE] / [!TIP] content into prose.
  • Kit-first in /docs/. Lead examples with the Vite-plugin / Kit path; treat DevFrame as the underlying foundation referenced where relevant.
  • Concise and precise. Tightened intros, trimmed redundant cross-links, shortened section headings.

AGENTS.md records the four guidelines so future doc edits follow the same conventions.

Linked Issues

None.

Additional context

pnpm -C devframe/docs run docs:build passes cleanly. The main pnpm -C docs run docs:build fails on a pre-existing config issue (the import in docs/.vitepress/config.ts references devframe/docs/.vitepress/sidebar, which was removed in #316; the corresponding fix was inadvertently reverted in #317). Out of scope for this PR — flagging for a follow-up.

🤖 Generated with Claude Code

…tation

Sweeping editorial pass over `docs/` and `devframe/docs/`:

- Describe what *is* rather than what isn't; drop "X is for Y, not Z"
  constructions and roadmap phrases ("not yet implemented", "dev mode
  planned") in favour of present-tense scope.
- Reserve callouts for genuinely critical material — keep `[!WARNING]`
  for experimental APIs and security/leakage hazards (added one to
  remote-client URL token handling), fold `[!NOTE]` / `[!TIP]` content
  into prose.
- In `/docs/`, lead examples with the Vite-plugin / Kit path and treat
  DevFrame as the underlying foundation referenced where relevant.
- Tighten intros, trim redundant cross-links, and shorten section
  headings.

Records the four guidelines in AGENTS.md so future doc edits follow the
same conventions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@antfu antfu merged commit 550b941 into main May 8, 2026
8 checks passed
@antfu antfu deleted the antfu/docs-tone-revision branch May 8, 2026 07:36
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