Skip to content

docs: use rspress new UI#697

Merged
9aoy merged 2 commits intomainfrom
rspress-rc
Nov 17, 2025
Merged

docs: use rspress new UI#697
9aoy merged 2 commits intomainfrom
rspress-rc

Conversation

@9aoy
Copy link
Collaborator

@9aoy 9aoy commented Nov 17, 2025

Summary

https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.0

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 17, 2025 09:20
@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit c7b7a6d
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/691aed8689d68200083724ab
😎 Deploy Preview https://deploy-preview-697--rstest-dev.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.

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 updates the website documentation infrastructure to use rspress's new UI components from version 2.0.0-rc.0. The changes migrate from custom implementations to rspress-provided components, simplifying the codebase and ensuring consistency with rspress's design system.

Key changes include:

  • Upgrading rspress packages from beta.34 to rc.0
  • Refactoring ConfigOverview to use the built-in OverviewGroup component
  • Implementing HomeBackground component using rspress's BasicHomeBackground

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/theme/pages/index.tsx Adds HomeBackground component that wraps rspress's BasicHomeBackground with custom styling for transparent navigation
website/theme/components/ConfigOverview.tsx Refactors to use rspress's OverviewGroup component, replacing custom rendering logic with standardized Group interface
website/theme/components/ConfigOverview.module.scss Removes entire file as styling is now handled by rspress's built-in components
website/package.json Updates rspress dependencies from beta.34 to rc.0 versions
pnpm-lock.yaml Updates lockfile to reflect dependency version changes and their transitive 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.

@9aoy 9aoy requested a review from SoonIter November 17, 2025 09:36
@9aoy 9aoy merged commit fdb0bec into main Nov 17, 2025
16 checks passed
@9aoy 9aoy deleted the rspress-rc branch November 17, 2025 09:56
@9aoy 9aoy mentioned this pull request Nov 20, 2025
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.

2 participants