chore(deps): update rspress packages to v2.0.20 - #419
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.19→2.0.202.0.19→2.0.202.0.19→2.0.20Release Notes
web-infra-dev/rspress (@rspress/core)
v2.0.20Compare Source
Highlights
🧭 New Blog: How to build an Agent-friendly website
Can an AI agent find, read, and understand your documentation as easily as a human? This new guide shows how Rspress combines
llms.txt, SSG-MD,Accept: text/markdown, andinjectLlmsHintto build documentation for both humans and Agents—and how AFDocs makes the result measurable.Read the blog: How to build an Agent-friendly website
🔗 Normalize clean URLs before rendering
Static hosts can serve the same page through URLs such as
/guide,/guide.html,/guide/, and/guide/index.html. Rspress can now match the actual route first and normalize the browser address bar to the format selected byroute.cleanUrlsbefore the page renders:With this configuration,
/guide.htmlbecomes/guide, while/reference/index.htmlbecomes/reference/. Normalization useshistory.replaceState, does not reload the page, and preservesbase, query parameters, hashes, and existing history state.This is a browser-side fallback rather than an HTTP 301/308 redirect. Keep server or CDN redirects for canonical SEO behavior.
Documentation:
route.cleanUrlsRedirectBlog: The trailing slash problem in static sites
Related PR: #3571
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspress@v2.0.19...v2.0.20
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.