docs: rename eject-only tag to theme-only#3169
Merged
Conversation
Replace the "eject-only" label with "theme-only" across all docs and the custom Tag component to better convey "requires custom theme" without exposing the internal "eject" concept to users.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR renames the documentation/site tag label from eject-only to theme-only to better convey “requires usage with a custom theme” and to align stylistically with existing tags like non-ejectable and experimental.
Changes:
- Update the website theme
Tagcomponent to render a warning badge fortheme-onlyinstead ofeject-only. - Replace
eject-onlywiththeme-onlyacross both zh/en docs frontmatter and Tag documentation examples. - Update zh/en UI
_meta.jsonentries to use the new tag value.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/theme/components/Tag/index.tsx | Switches custom tag handling from eject-only to theme-only in the rendered badge. |
| website/docs/zh/ui/layout-components/tag.mdx | Updates the example and frontmatter tag value to theme-only. |
| website/docs/zh/ui/icons/index.mdx | Updates page frontmatter tag to theme-only. |
| website/docs/zh/ui/_meta.json | Updates the directory tag value to theme-only. |
| website/docs/en/ui/layout-components/tag.mdx | Updates the example and frontmatter tag value to theme-only. |
| website/docs/en/ui/icons/index.mdx | Updates page frontmatter tag to theme-only. |
| website/docs/en/ui/_meta.json | Updates the directory tag value to theme-only. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Rsdoctor Bundle Diff AnalysisFound 3 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
Deploying rspress-v2 with
|
| Latest commit: |
dd51893
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://edef1d60.rspress-v2.pages.dev |
| Branch Preview URL: | https://syt-vibe-kanban-a8c0-eject-o.rspress-v2.pages.dev |
eject-only tag to theme-only
Timeless0911
approved these changes
Feb 28, 2026
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.
Summary
Related Issue
Checklist
AI Summary
Rename the custom
eject-onlytag totheme-onlyacross all documentation and the custom Tag component.What changed
website/theme/components/Tag/index.tsx) to recognizetheme-onlyinstead ofeject-onlywebsite/docs/{en,zh}/ui/icons/index.mdx)_meta.jsonfileswebsite/docs/{en,zh}/ui/layout-components/tag.mdx)Why
The term "eject" is an internal implementation concept that isn't intuitive for new users.
theme-onlyclearly communicates that the feature "requires a custom theme", and is consistent in length and style with existing tags likenon-ejectableandexperimental.This PR was written using Vibe Kanban