Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📦 Binary Size-limit
🙈 Size remains the same at 47.45MB |
CodSpeed Performance ReportMerging #12201 will not alter performanceComparing Summary
|
|
@copilot 帮我把这个 Pr 的 rspress 相关版本改为 2.0.0-rc.0 |
0525bac to
c44c56e
Compare
There was a problem hiding this comment.
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 from2.0.0-beta.35to2.0.0-rc.0 - Added the new
@rspress/plugin-client-redirectsplugin - Integrated Rspress V2's
HomeBackgroundcomponent 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.
|
Could we center the content horizontally when sidebar is hidden? (https://deploy-preview-12201--rspack.netlify.app/blog/) |
c44c56e to
80c15c5
Compare
done by simulating centering effect |
|
🎉 |
Summary
docs: upgrade to Rspress V2 new UI
Related links
Checklist