chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.1 #1198
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/rspress-plugin-preview-2.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.0.0-beta.35->2.0.0-rc.1Release Notes
web-infra-dev/rspress (@rspress/plugin-preview)
v2.0.0-rc.1Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
Other Changes
Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.0...v2.0.0-rc.1
v2.0.0-rc.0Compare Source
Highlights ✨
💄 Brand new theme
1. BEM classname 🕶
All built-in components now adopt BEM naming. This is a rather old-school choice, but a deliberate one based on user feedback.
Compared with Tailwind CSS, it allows you to flexibly adjust styles anywhere using standard CSS selectors, without restrictions.
For user-side customized doc components, you are free to choose any styling approach — including Tailwind CSS — without worrying about conflicts with Rspress’s default styles.
2. Built-in Default i18n Text 🌏
The new theme includes a set of default translation strings and supports "treeshaking" based on the languages configured in your project:
If your documentation includes only en and zh, only those languages will be bundled.
For languages not supported by Rspress, it automatically falls back to en.
In most cases, you barely need to configure any i18n text manually, which significantly improves usability. You only need to configure i18nSource in rspress.config.ts when a language is missing or when you want to override built-in texts.
In 2.0.0-rc.0, based on contributions from the community, Rspress now includes four built-in languages: zh, en, ja, and ko.
Welcome more contributors to help improve and expand the default language texts.
More info: https://github.com/web-infra-dev/rspress/discussions/1891#discussioncomment-14933678
3. More CSS Variables 💄
Rspress now exposes additional CSS variables covering theme colors, shiki, code blocks, the homepage, and more — greatly enhancing customization capabilities.
You can experiment with them interactively at https://v2.rspress.rs/ui/vars, preview the results in real time, and copy the variables directly into your project.
4.
rspress eject🆕rspress ejectis a brand-new CLI command that copies the source code of Rspress’s built-in components into your project’s theme/components directory.For example:
rspress eject DocFooterThis gives you the full source of the DocFooter component, enabling you to customize it freely, such as adding license information.
The
rspress ejectfeature is still in testing, and we’ll continue improving the documentation and providing more good customization examples.5. Improved Documentation Reading Experience 📖
Most colors and visual styles have been redesigned and refined by our designers, significantly enhancing the overall visual appeal and reading experience.
What's Changed
New Features 🎉
.rp-doc-outlinetorp-toc-includeby @SoonIter in #2656cacheoptions by @Timeless0911 in #2712config.i18nSourceand default i18n text and remove serveral i18nKeys in themeConfig by @SoonIter in #2738'''tsx lineNumbers wrapCodeby @Copilot in #2746rspress ejectCLI command for theme component customization by @Copilot in #2726Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
@rspress/theme-defaultto@rspress/core/themeby @SoonIter in #2690New Contributors
Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-beta.35...v2.0.0-rc.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.