Skip to content

docs: standardize terminology for environment variables#5626

Merged
chenjiahan merged 1 commit intomainfrom
env_var_doc_0718
Jul 18, 2025
Merged

docs: standardize terminology for environment variables#5626
chenjiahan merged 1 commit intomainfrom
env_var_doc_0718

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Standardizes the terminology across the codebase and documentation by replacing "env variables" with "environment variables."
  • Added a reference to the complete preset type definitions.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings July 18, 2025 13:06
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 18, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 17c1619
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/687a46ef6f2ff30008866a4b
😎 Deploy Preview https://deploy-preview-5626--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: 85 (🟢 up 10 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.

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 standardizes terminology across the Rsbuild codebase and documentation by consistently using "environment variables" instead of "env variables". Additionally, it adds a reference to the complete preset type definitions in the TypeScript documentation.

  • Replaces all instances of "env variables" with "environment variables" throughout documentation and code comments
  • Adds reference links to complete preset type definitions in TypeScript documentation (both English and Chinese)
  • Updates section headings and titles to use the standardized terminology

Reviewed Changes

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

Show a summary per file
File Description
website/docs/zh/guide/basic/typescript.mdx Added reference to complete type definitions
website/docs/en/guide/migration/cra.mdx Updated section heading from "Env variables" to "Environment variables"
website/docs/en/guide/debug/rsdoctor.mdx Standardized terminology in Rsdoctor setup instructions
website/docs/en/guide/basic/typescript.mdx Added reference to complete type definitions
website/docs/en/guide/advanced/env-vars.mdx Comprehensive terminology updates throughout environment variables guide
website/docs/en/config/server/open.mdx Updated terminology in browser configuration documentation
website/docs/en/api/javascript-api/core.mdx Updated terminology in API documentation and type definitions
packages/core/src/types/rsbuild.ts Updated TypeScript type comment
packages/core/src/loadEnv.ts Updated TypeScript type comments for LoadEnvResult
packages/core/src/createRsbuild.ts Updated inline code comment

@chenjiahan chenjiahan merged commit c5c9dcd into main Jul 18, 2025
12 checks passed
@chenjiahan chenjiahan deleted the env_var_doc_0718 branch July 18, 2025 13:11
@chenjiahan chenjiahan mentioned this pull request Jul 19, 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.

2 participants