Skip to content

docs(website): simplify Rspress configuration - #625

Merged
chenjiahan merged 2 commits into
mainfrom
chore/upgrade-rspress-2-1-1
Nov 9, 2026
Merged

chenjiahan merged 2 commits into
mainfrom
chore/upgrade-rspress-2-1-1

Conversation

@SoonIter

@SoonIter SoonIter commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Motivation

The website already uses Rspress 2.1.1. Remove redundant configuration following the Rspress 2.1 upgrade guide.

Changes

Remove explicit checkAnchors: true and cleanUrls: true, and clean up empty configuration objects. Also remove the default checkDeadLinks: true setting. Preserve custom exclusions and the built-in sitemap configuration via siteOrigin.

Also remove the entire search: { codeBlocks: true } block: this website uses built-in local search, and code-block indexing defaults to true. Unlike the Algolia websites, this setting is effective but redundant; omitting it preserves code-block indexing.

Validation: TypeScript syntax, formatting, and whitespace checks passed for the added cleanup. Evaluated the actual searchCodeBlocks expression from Rspress v2.1.1 with { codeBlocks: true } and with search omitted; both enable code-block indexing. Earlier effective-configuration checks for the original cleanup stubbed external plugins. A full website production build was not rerun.

AI-generated by OpenAI Codex.

AI-generated by OpenAI Codex.
Copilot AI balanced review requested due to automatic review settings November 9, 2026 05:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T05:52:16.348625Z ce5bd9b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9ee2036
Status:⚡️  Build in progress...

View logs

@chenjiahan chenjiahan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@chenjiahan
chenjiahan merged commit 2fe122e into main Nov 9, 2026
4 of 5 checks passed
@chenjiahan
chenjiahan deleted the chore/upgrade-rspress-2-1-1 branch November 9, 2026 06:09
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