Skip to content

docs: improve documentation authenticity and natural flow#6051

Merged
chenjiahan merged 4 commits intomainfrom
copilot/fix-48eaa5f5-fb60-4c10-84b2-4931768483f9
Sep 4, 2025
Merged

docs: improve documentation authenticity and natural flow#6051
chenjiahan merged 4 commits intomainfrom
copilot/fix-48eaa5f5-fb60-4c10-84b2-4931768483f9

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Sep 3, 2025

This PR improves the English documentation in the website/docs/en directory by replacing non-authentic expressions with more natural, professional language commonly used in open-source project documentation.

Changes Made

The improvements target common Chinese-to-English translation artifacts that make the documentation feel less authentic:

Pattern Improvements

  • "written to" → "placed in": Made file location descriptions more natural

    • Output files are written to the dist directoryOutput files are placed in the dist directory
  • "For example to set" → "To set, for example": Improved flow of examples

    • For example to set description:To set a description, for example:
  • "such as setting it to" → "such as" or "for example": Streamlined verbose constructions

    • such as setting it to a CDN URLsuch as a CDN URL
    • such as setting the descriptionlike a description
  • "you can use the X to set" → "use X to configure": More direct, professional tone

    • use the dev.assetPrefix to setuse dev.assetPrefix to configure
  • "it is recommended" → "we recommend": More personal, engaging tone

    • it is recommended to setwe recommend setting

Files Modified

  1. guide/basic/output-files.mdx - Improved file location descriptions
  2. config/html/meta.mdx - Enhanced example introductions
  3. config/output/asset-prefix.mdx - Multiple flow improvements
  4. config/dev/asset-prefix.mdx - Consistent improvements with output version
  5. guide/basic/html-template.mdx - Streamlined example language
  6. config/source/transform-import.mdx - Natural example flow
  7. config/output/inline-scripts.mdx - Professional recommendation tone
  8. config/resolve/alias.mdx - Removed unnecessary articles

All changes preserve the original meaning while making the English more authentic and professional. The modifications follow the principle of making only noticeable improvements that enhance readability without altering technical content.


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

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 3, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit a8afd80
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68b8fa6e97a16b00083f7337
😎 Deploy Preview https://deploy-preview-6051--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: 74 (🔴 down 1 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.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 3, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ chenjiahan
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI and others added 2 commits September 3, 2025 14:19
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] Help me to improve the website/docs/en directory of the English document, many of the paragraphs are translated from Chinese, please find out these sentences are not authentic, without changing the original meaning of the case, replaced by more authent... docs: improve English documentation authenticity and natural flow Sep 3, 2025
Copilot AI requested a review from chenjiahan September 3, 2025 14:22
@chenjiahan chenjiahan changed the title docs: improve English documentation authenticity and natural flow docs: improve documentation authenticity and natural flow Sep 4, 2025
@chenjiahan chenjiahan marked this pull request as ready for review September 4, 2025 02:33
Copilot AI review requested due to automatic review settings September 4, 2025 02:33
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 authenticity and natural flow of English documentation by replacing Chinese-to-English translation artifacts with more professional, native-sounding language commonly used in open-source projects.

  • Replaced verbose constructions like "such as setting it to" with more concise alternatives
  • Improved example introductions from "For example to set" to "To set, for example"
  • Changed passive recommendations "it is recommended" to more engaging "we recommend"

Reviewed Changes

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

Show a summary per file
File Description
website/docs/en/guide/basic/html-template.mdx Simplified example language from "such as setting the description" to "like a description"
website/docs/en/config/source/transform-import.mdx Improved flow by changing "such as setting it to" to "for example setting it to"
website/docs/en/config/resolve/alias.mdx Removed unnecessary article "the" from "use the source.alias"
website/docs/en/config/output/inline-scripts.mdx Changed passive "it is recommended" to active "we recommend"
website/docs/en/config/output/asset-prefix.mdx Multiple improvements including "use X to set" → "use X to configure" and example flow enhancements
website/docs/en/config/html/meta.mdx Improved example introductions from "For example to set" to "To set, for example"
website/docs/en/config/dev/asset-prefix.mdx Consistent improvements with output version, enhancing professional tone

@chenjiahan chenjiahan merged commit ccaf29e into main Sep 4, 2025
10 of 11 checks passed
@chenjiahan chenjiahan deleted the copilot/fix-48eaa5f5-fb60-4c10-84b2-4931768483f9 branch September 4, 2025 02:35
@chenjiahan chenjiahan mentioned this pull request Sep 5, 2025
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