-
-
Notifications
You must be signed in to change notification settings - Fork 233
docs: upgrade to Rspress V2 new UI #6341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
6fd063e to
f29d5e1
Compare
|
@copilot 帮我把这个 Pr 的 rspress 相关版本改为 2.0.0-rc.0 |
|
|
There was a problem hiding this 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 documentation website from Rspress V2 beta.35 to V2 rc.0, adopting the new UI and API changes introduced in the release candidate version.
- Updated all @RsPress packages from
2.0.0-beta.35to2.0.0-rc.0 - Migrated to new Rspress V2 component APIs (
HomeFeature,OverviewGroup,HomeBackground) - Updated navigation metadata structure from
"dir"to"dir-section-header"
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
website/package.json |
Updated @RsPress package versions from beta.35 to rc.0 |
website/theme/pages/index.tsx |
Added HomeBackground component wrapper for transparent navigation |
website/theme/components/Overview.tsx |
Refactored to use OverviewGroup component from Rspress core |
website/theme/components/Overview.module.scss |
Removed custom styles (now handled by Rspress core) |
website/theme/components/Features.tsx |
Updated HomeFeature API from frontmatter prop to features prop |
website/docs/zh/guide/_meta.json |
Changed navigation type from "dir" to "dir-section-header" |
website/docs/en/guide/_meta.json |
Changed navigation type from "dir" to "dir-section-header" |
website/docs/zh/config/index.mdx |
Added front matter for doc-wide page type and disabled outline |
website/docs/en/config/index.mdx |
Added front matter for doc-wide page type and disabled outline |
pnpm-lock.yaml |
Updated lockfile to reflect new @RsPress 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.
c6c1b25 to
62665e5
Compare

Summary
docs: upgrade to Rspress V2
Related Links
Checklist