Skip to content

chore: remove unused rspress-plugin-sitemap dependency#7352

Merged
chenjiahan merged 1 commit intomainfrom
remove_rspress-plugin-sitemap_0320
Mar 20, 2026
Merged

chore: remove unused rspress-plugin-sitemap dependency#7352
chenjiahan merged 1 commit intomainfrom
remove_rspress-plugin-sitemap_0320

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Switched to https://rspress.rs/plugin/official-plugins/sitemap

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings March 20, 2026 09:25
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the project's dependencies by replacing a third-party sitemap plugin with its official counterpart. This change reduces the number of external dependencies and aligns the project with the recommended official plugin for sitemap generation within the Rspress ecosystem, potentially improving maintainability and consistency.

Highlights

  • Dependency Removal: The rspress-plugin-sitemap dependency has been removed from the project's package.json and pnpm-lock.yaml.
  • Plugin Migration: The project has migrated to using the official rspress.rs/plugin/official-plugins/sitemap for sitemap generation, replacing the previously used third-party plugin.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

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

Removes the legacy rspress-plugin-sitemap dependency from the website package now that the site uses the official Rspress sitemap plugin (@rspress/plugin-sitemap), reducing duplicate/unneeded dependencies for the docs site build.

Changes:

  • Dropped rspress-plugin-sitemap from website/package.json.
  • Pruned rspress-plugin-sitemap entries from pnpm-lock.yaml.

Reviewed changes

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

File Description
website/package.json Removes the unused legacy sitemap plugin dependency from the website devDependencies.
pnpm-lock.yaml Removes the corresponding lockfile entries for the dropped dependency.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying rsbuild with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0ffd5f
Status: ✅  Deploy successful!
Preview URL: https://4e4e01a7.rsbuild-v2.pages.dev
Branch Preview URL: https://remove-rspress-plugin-sitema.rsbuild-v2.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request successfully removes the rspress-plugin-sitemap dependency and its related entries from pnpm-lock.yaml and website/package.json. This aligns with the summary of switching to the official sitemap plugin, which is already present in the configuration. The changes are straightforward and contribute to cleaning up unused dependencies.

@chenjiahan chenjiahan merged commit 3a798ac into main Mar 20, 2026
11 checks passed
@chenjiahan chenjiahan deleted the remove_rspress-plugin-sitemap_0320 branch March 20, 2026 09:35
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.

2 participants