Skip to content

docs: remove custom llms button#1456

Merged
Timeless0911 merged 1 commit intomainfrom
docs/llms
Jan 27, 2026
Merged

docs: remove custom llms button#1456
Timeless0911 merged 1 commit intomainfrom
docs/llms

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Jan 27, 2026

Summary

Since Rspress make LLMS built-in in web-infra-dev/rspress#3026, so in this PR we remove the custom theme component.

Related Links

#1146

Checklist

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

Copilot AI review requested due to automatic review settings January 27, 2026 09:43
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 removes the custom LLMS (Large Language Model Support) button implementation from the Rslib documentation website's theme, as Rspress now provides this functionality built-in (as of rspress PR #3026). The custom MDX component override is no longer needed since the LLMS feature is enabled via configuration.

Changes:

  • Removed custom getCustomMDXComponent function that wrapped H1 headers with LLMS UI components
  • Removed imports for @rspress/plugin-llms/runtime components (LlmsContainer, LlmsCopyButton, LlmsViewOptions)
  • Removed import for getCustomMDXComponent from @rspress/core/theme-original

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

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

cloudflare-workers-and-pages bot commented Jan 27, 2026

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7bf050c
Status: ✅  Deploy successful!
Preview URL: https://a4d74ecd.rslib.pages.dev
Branch Preview URL: https://docs-llms.rslib.pages.dev

View logs

@Timeless0911 Timeless0911 merged commit 2210c36 into main Jan 27, 2026
20 checks passed
@Timeless0911 Timeless0911 deleted the docs/llms branch January 27, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants