Skip to content

Conversation

@SoonIter
Copy link
Member

Summary

docs: upgrade to Rspress V2

Related Links

Checklist

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

@netlify
Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 62665e5
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6916f66d24065d0007e27a77
😎 Deploy Preview https://deploy-preview-6341--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: 58 (🔴 down 6 from production)
Accessibility: 100 (🟢 up 3 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.

@SoonIter SoonIter force-pushed the syt/docs-v2 branch 3 times, most recently from 6fd063e to f29d5e1 Compare November 14, 2025 07:20
@SoonIter
Copy link
Member Author

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

Copy link
Contributor

Copilot AI commented Nov 14, 2025

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

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ SoonIter
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@SoonIter SoonIter marked this pull request as ready for review November 14, 2025 09:25
Copilot AI review requested due to automatic review settings November 14, 2025 09:25
Copilot finished reviewing on behalf of SoonIter November 14, 2025 09:27
Copy link
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 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.35 to 2.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.

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.

3 participants