Skip to content

docs: fix grammar issues and contractions#5934

Merged
chenjiahan merged 3 commits intomainfrom
copilot/fix-38d9a7f2-db9b-4908-9c0f-847fb6ddb8e8
Aug 24, 2025
Merged

docs: fix grammar issues and contractions#5934
chenjiahan merged 3 commits intomainfrom
copilot/fix-38d9a7f2-db9b-4908-9c0f-847fb6ddb8e8

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Aug 23, 2025

This PR addresses various documentation errors found across the website/docs/en directory, focusing on grammar issues and contractions that should be avoided in formal documentation.

Changes Made

Grammar Fixes

  • Fixed grammatical error "making sure the TypeScript can correctly identify" → "making sure that TypeScript can correctly identify" in 3 files
  • This improves sentence structure by adding the necessary conjunction "that"

Contraction Replacements

Replaced informal contractions with formal equivalents to maintain professional documentation standards:

  • it'sit is (2 instances)
  • doesn'tdoes not (2 instances)
  • let'slet us (2 instances)
  • won'twill not (3 instances)
  • Here'sHere is (3 instances)
  • you'llyou will (1 instance)
  • don'tdo not (5 instances)
  • isn'tis not (1 instance)

Files Modified (19 total)

The changes span various documentation sections including:

  • API documentation (guide/styling/css-modules.mdx, plugins/list/plugin-svgr.mdx)
  • Configuration documentation (config/performance/preload.mdx, config/tools/bundler-chain.mdx)
  • Migration guides (guide/migration/webpack.mdx, guide/migration/vite-plugin.mdx)
  • Plugin documentation (plugins/list/plugin-react.mdx, plugins/list/plugin-less.mdx)
  • And other core documentation files

Validation

  • All changes maintain consistency with existing Chinese documentation where applicable
  • The Chinese versions already use the correct formal structure, so no changes were needed there
  • All linting checks pass successfully
  • Changes are minimal and focused, affecting only the specific text that needed correction

These improvements enhance the professional tone and readability of the documentation while maintaining technical accuracy.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@netlify
Copy link
Copy Markdown

netlify bot commented Aug 23, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit b46443d
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68a9bedb70b2440007153c10
😎 Deploy Preview https://deploy-preview-5934--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 50 (🔴 down 24 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copilot AI and others added 2 commits August 23, 2025 13:13
Co-authored-by: chenjiahan <7237365+chenjiahan@users.noreply.github.com>
Co-authored-by: chenjiahan <7237365+chenjiahan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix various documentation errors found across the website/docs directory, including typos, grammatical issues, and terminology inconsistencies. - Do not need to update the cpsell config. - Avoid making too many changes in a single PR; limit to less th... docs: fix grammar issues and contractions in English documentation Aug 23, 2025
Copilot AI requested a review from chenjiahan August 23, 2025 13:15
@chenjiahan chenjiahan changed the title docs: fix grammar issues and contractions in English documentation docs: fix grammar issues and contractions Aug 24, 2025
@chenjiahan chenjiahan marked this pull request as ready for review August 24, 2025 01:11
Copilot AI review requested due to automatic review settings August 24, 2025 01:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the documentation quality by fixing grammar issues and replacing informal contractions with formal equivalents across 19 documentation files in the website/docs/en directory.

  • Fixed grammatical error by adding "that" in the phrase "making sure the TypeScript can correctly identify" → "making sure that TypeScript can correctly identify"
  • Replaced contractions with formal equivalents (e.g., it'sit is, doesn'tdoes not, won'twill not)
  • Enhanced professional tone while maintaining technical accuracy

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/docs/en/plugins/list/plugin-svgr.mdx Fixed grammar by adding "that" in TypeScript identification phrase
website/docs/en/plugins/list/plugin-react.mdx Replaced "it's" with "it is" in React Profiler documentation
website/docs/en/plugins/list/plugin-less.mdx Replaced "doesn't" with "does not" in FAQ section
website/docs/en/guide/styling/css-modules.mdx Fixed grammar by adding "that" in TypeScript identification phrase
website/docs/en/guide/migration/webpack.mdx Replaced "let's" with "let us" in React migration example
website/docs/en/guide/migration/vite-plugin.mdx Replaced "Here's" with "Here is" in HTML title example
website/docs/en/guide/framework/react.mdx Replaced "it's" with "it is" in React Compiler documentation
website/docs/en/guide/configuration/rspack.mdx Replaced "Here's" with "Here is" in basic example
website/docs/en/guide/basic/static-assets.mdx Fixed grammar by adding "that" in TypeScript identification phrase
website/docs/en/guide/advanced/ssr.mdx Replaced "you'll" with "you will" and "Here's" with "Here is" in SSR documentation
website/docs/en/config/tools/rspack.mdx Replaced "won't" with "will not" in Rspack config documentation
website/docs/en/config/tools/bundler-chain.mdx Replaced "won't" with "will not" in bundler chain documentation
website/docs/en/config/source/define.mdx Replaced "isn't" with "is not" in define config documentation
website/docs/en/config/performance/print-file-size.mdx Replaced multiple instances of "don't" with "do not"
website/docs/en/config/performance/preload.mdx Replaced "doesn't" with "does not" in preload documentation
website/docs/en/config/performance/bundle-analyze.mdx Replaced "don't" with "do not" in bundle analyze documentation
website/docs/en/config/output/legal-comments.mdx Replaced "won't" with "will not" in legal comments documentation
website/docs/en/config/output/filename.mdx Replaced "don't" with "do not" in filename documentation
website/docs/en/community/releases/v1-0.mdx Replaced "let's" with "let us" in plugin implementation example

@chenjiahan chenjiahan merged commit 821a98c into main Aug 24, 2025
20 of 21 checks passed
@chenjiahan chenjiahan deleted the copilot/fix-38d9a7f2-db9b-4908-9c0f-847fb6ddb8e8 branch August 24, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants