Skip to content

docs: improve restart option heading#8163

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-restart-handling
Jul 22, 2026
Merged

docs: improve restart option heading#8163
chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-restart-handling

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR updates the restart option headings in the English and Chinese JavaScript API docs to use clearer descriptive wording. It also aligns the localized anchor IDs and updates all affected internal links.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8934d5f5-265b-473a-ab56-409fece53687

📥 Commits

Reviewing files that changed from the base of the PR and between cba4a91 and 8c9fd42.

📒 Files selected for processing (6)
  • website/docs/en/api/javascript-api/core.mdx
  • website/docs/en/guide/configuration/rsbuild.mdx
  • website/docs/en/shared/onRestart.mdx
  • website/docs/zh/api/javascript-api/core.mdx
  • website/docs/zh/guide/configuration/rsbuild.mdx
  • website/docs/zh/shared/onRestart.mdx

📝 Walkthrough

Walkthrough

Updated the restart documentation section headings in English and Chinese API references to use the restart-handling anchor. Synchronized links in the createRsbuild API, configuration guide, and onRestart documentation across both languages.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly reflects the doc change to rename the restart option heading and related anchors.
Description check ✅ Passed The description matches the documented updates to restart headings, anchors, and internal links in English and Chinese docs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8c9fd4222d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/en/api/javascript-api/core.mdx
@chenjiahan
chenjiahan merged commit dd9e690 into main Jul 22, 2026
7 of 8 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/docs-restart-handling branch July 22, 2026 08:22
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