Skip to content

docs: fix typos in guide - #298

Merged
pi0 merged 1 commit into
h3js:mainfrom
unrevised6419:docs/fix-typos
Sep 2, 2026
Merged

pi0 merged 1 commit into
h3js:mainfrom
unrevised6419:docs/fix-typos

Conversation

@unrevised6419

@unrevised6419 unrevised6419 commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes a batch of spelling and grammar typos found while reading through docs/1.guide/. Docs-only, no behavior change.

  • source of trust → source of truth (02.handler.md, 08.node.md)
  • vise-versa → vice versa (02.handler.md)
  • sever → server (03.server.md)
  • two kind of options → two kinds of options (05.options.md)
  • resolves the the correct entrypoint → resolves the correct entrypoint (07.bundler.md)
  • correct version on srvx → correct version of srvx (07.bundler.md)
  • never patch of modify → never patch or modify (08.node.md)
  • request object with into a new Request instance → request object into a new Request instance (08.node.md)
  • roughly **%94** → roughly **94%** (08.node.md)
  • a HTTP server / a HTTP response → an HTTP … (08.node.md)
  • Popular framework such as → Popular frameworks such as (08.node.md)
  • stray mid-sentence capital in web standards, There are differences (08.node.md)

I also noticed a few things that look like genuine documentation bugs rather than typos, and left them out of this PR to keep it purely mechanical. Happy to open a follow-up for any of them:

  • 02.handler.md documents request.deno?.info, but the property is request.runtime.deno?.info.
  • 05.options.md links manual to /guide/server#serverserve, but 03.server.md has no server.serve() section (the method does exist in types.ts).
  • 07.bundler.md shows the esbuild CLI flag as --conditions:node; esbuild uses --conditions=node.
  • 9.aws-lambda.md says options host and port are ignored; the option is named hostname.
  • The loadServerEntry reload example in 10.cli.md calls resolve() without importing it.
  • gracefulShutdown appears only in the per-runtime table in 05.options.md, never as a documented option.
  • 02.handler.md documents request.runtime.deno?.server, which the Deno adapter does set, but ServerRuntimeContext["deno"] only declares info — so it fails to type check.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G1vpa8Q9Ryk9Ne9Rq3vPqQ

Summary by CodeRabbit

  • Documentation
    • Corrected spelling, grammar, punctuation, and wording throughout the Fetch Handler, Server Options, Bundler, and Node.js guides.
    • Clarified references to HTTP servers, option categories, request objects, framework examples, and benchmark percentages.
    • Improved documentation accuracy and readability without changing functionality.

- `source of trust` -> `source of truth` (02.handler, 08.node)
- `vise-versa` -> `vice versa` (02.handler)
- `sever` -> `server` (03.server)
- `two kind of options` -> `two kinds of options` (05.options)
- `the the correct entrypoint` -> `the correct entrypoint` (07.bundler)
- `correct version on srvx` -> `correct version of srvx` (07.bundler)
- `never patch of modify` -> `never patch or modify` (08.node)
- `request object with into` -> `request object into` (08.node)
- `roughly %94` -> `roughly 94%` (08.node)
- `a HTTP server/response` -> `an HTTP server/response` (08.node)
- `Popular framework such as` -> `Popular frameworks such as` (08.node)
- stray mid-sentence capital in `standards, There are differences` (08.node)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01G1vpa8Q9Ryk9Ne9Rq3vPqQ
@unrevised6419
unrevised6419 requested a review from pi0 as a code owner September 2, 2026 23:02
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

@unrevised6419 is attempting to deploy a commit to the unjs Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: f19e86b5-5d3d-4aac-8aa1-6265d3583ed4

📥 Commits

Reviewing files that changed from the base of the PR and between a0b9b0b and 23ac458.

📒 Files selected for processing (5)
  • docs/1.guide/02.handler.md
  • docs/1.guide/03.server.md
  • docs/1.guide/05.options.md
  • docs/1.guide/07.bundler.md
  • docs/1.guide/08.node.md

📝 Walkthrough

Walkthrough

The pull request corrects spelling, grammar, duplicated words, prepositions, terminology, and percentage formatting in five guide documents. It introduces no functional or public API changes.

Changes

Documentation proofreading

Layer / File(s) Summary
Guide text corrections
docs/1.guide/02.handler.md, docs/1.guide/03.server.md, docs/1.guide/05.options.md, docs/1.guide/07.bundler.md, docs/1.guide/08.node.md
Corrects typos and grammar in the guides, including HTTP articles, pluralization, wording, spelling, and benchmark percentage formatting.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

A rabbit checks each phrase with care
And finds stray typos hiding there
“Truth,” says the guide, “not trust today”
Clean words now hop along their way
The docs shine bright in proper array

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pi0 pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@pi0
pi0 merged commit c1e8cf2 into h3js:main Sep 2, 2026
12 of 14 checks passed
@unrevised6419
unrevised6419 deleted the docs/fix-typos branch September 2, 2026 23:04
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@unrevised6419

Copy link
Copy Markdown
Contributor Author

lol, how fast is the deploy of the docs 😄
it's already available on the website 🚀

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