chore: migrate Rspress to Rstack CLI#8167
Conversation
📝 WalkthroughWalkthroughThe website documentation tooling was migrated from Rspress to RStack. Scripts now use 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying rsbuild with
|
| Latest commit: |
81cb622
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7ff42a24.rsbuild-v2.pages.dev |
| Branch Preview URL: | https://chenjiahan-chore-rspress-rst.rsbuild-v2.pages.dev |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@website/rstack.config.ts`:
- Line 20: Update the documentation configuration around define.doc in the
RStack config to export its returned configuration as the module default.
Preserve the existing configuration object and verify the resulting export
matches the installed RStack API.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d7b49534-22f6-42d4-b741-5ca0afa9cfcc
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (5)
website/package.jsonwebsite/rstack.config.tswebsite/theme/env.d.tswebsite/theme/rsbuildPluginOverview.tswebsite/tsconfig.json
Summary
This PR migrates the Rsbuild website from standalone Rspress commands and configuration to Rstack CLI, keeping the existing documentation behavior while using the unified
rs docworkflow. It also routes website Rsbuild types through Rstack and removes the direct@rsbuild/coredependency.