Skip to content

docs: upgrade to Rspress V2 new UI#12201

Merged
chenjiahan merged 3 commits intomainfrom
syt/upgrade-v2
Nov 15, 2025
Merged

docs: upgrade to Rspress V2 new UI#12201
chenjiahan merged 3 commits intomainfrom
syt/upgrade-v2

Conversation

@SoonIter
Copy link
Copy Markdown
Member

Summary

docs: upgrade to Rspress V2 new UI

Related links

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 14, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 522e13d
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/6917fdb5c544ee0008a38764
😎 Deploy Preview https://deploy-preview-12201--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Nov 14, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 14, 2025

📦 Binary Size-limit

Comparing 522e13d to ci(native-watcher): test multiple platforms (#12197) by Hana

🙈 Size remains the same at 47.45MB

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Nov 14, 2025

CodSpeed Performance Report

Merging #12201 will not alter performance

Comparing syt/upgrade-v2 (522e13d) with main (a85877a)

Summary

✅ 17 untouched

@SoonIter
Copy link
Copy Markdown
Member Author

@copilot 帮我把这个 Pr 的 rspress 相关版本改为 2.0.0-rc.0

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 14, 2025

@SoonIter I've opened a new pull request, #12204, to work on those changes. Once the pull request is ready, I'll request review from you.

@SoonIter SoonIter marked this pull request as ready for review November 14, 2025 09:35
Copilot AI review requested due to automatic review settings November 14, 2025 09:35
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 14, 2025

CLA assistant check
All committers have signed the CLA.

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 upgrades the Rspack website documentation to use Rspress V2 (RC) with its new UI system. The upgrade includes package version updates, UI component changes, and removal of obsolete workarounds.

  • Updated all @rspress/* packages from 2.0.0-beta.35 to 2.0.0-rc.0
  • Added the new @rspress/plugin-client-redirects plugin
  • Integrated Rspress V2's HomeBackground component for transparent navigation
  • Removed CSS workaround for code block focus styling (now handled by framework)
  • Removed external link indicators () from navigation items (now handled by framework UI)

Reviewed Changes

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

Show a summary per file
File Description
website/theme/pages/index.tsx Added HomeBackground component import and usage for transparent nav styling
website/theme/index.css Removed obsolete CSS fixes for code block focus borders
website/package.json Upgraded Rspress packages to 2.0.0-rc.0 and added client-redirects plugin
website/docs/zh/_nav.json Removed manual external link indicator from Chinese nav text
website/docs/en/_nav.json Removed manual external link indicator from English nav text
pnpm-lock.yaml Lock file updates reflecting new package versions and dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan
Copy link
Copy Markdown
Member

Could we center the content horizontally when sidebar is hidden? (https://deploy-preview-12201--rspack.netlify.app/blog/)

@SoonIter
Copy link
Copy Markdown
Member Author

SoonIter commented Nov 15, 2025

Could we center the content horizontally when sidebar is hidden? (deploy-preview-12201--rspack.netlify.app/blog)

done by simulating centering effect

@chenjiahan chenjiahan merged commit 359c79e into main Nov 15, 2025
47 checks passed
@chenjiahan chenjiahan deleted the syt/upgrade-v2 branch November 15, 2025 06:30
@chenjiahan
Copy link
Copy Markdown
Member

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants