Skip to content

docs: fix stale Rsbuild doc links#1659

Merged
chenjiahan merged 1 commit into
mainfrom
docs/fix-rsbuild-doc-links-20260520
May 20, 2026
Merged

docs: fix stale Rsbuild doc links#1659
chenjiahan merged 1 commit into
mainfrom
docs/fix-rsbuild-doc-links-20260520

Conversation

@elecmonkey
Copy link
Copy Markdown
Member

Summary

This PR cleans up stale Rsbuild links in the Rslib docs.

  • Fix links that now lead to 40x pages
  • Replace links that return 30x redirects with their final URLs
  • zh-CN docs should link to zh-CN docs

Copy link
Copy Markdown
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 Rslib documentation to point at current, non-stale Rsbuild documentation URLs, with correct language-specific links for zh-CN pages.

Changes:

  • Updated zh-CN docs to use https://rsbuild.rs/zh/... links where appropriate.
  • Replaced older Rsbuild config/guide URLs with newer canonical destinations (including Rspack configuration docs).
  • Simplified some Rsbuild config links to their current top-level pages (avoiding previously used deep links).

Reviewed changes

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

File Description
website/docs/zh/shared/components/MF.mdx Updates Module Federation link to the zh-CN Rsbuild doc.
website/docs/zh/guide/basic/configure-rslib.mdx Refreshes several Rsbuild links (output.target, config overview, Rspack config) to current zh-CN URLs.
website/docs/zh/config/lib/id.mdx Updates environments link to the current zh-CN Rsbuild config location.
website/docs/en/guide/basic/configure-rslib.mdx Refreshes Rsbuild documentation and Rspack configuration links to current EN URLs.

Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@chenjiahan chenjiahan merged commit ea00914 into main May 20, 2026
11 checks passed
@chenjiahan chenjiahan deleted the docs/fix-rsbuild-doc-links-20260520 branch May 20, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants