Skip to content

docs: rename eject-only tag to theme-only#3169

Merged
SoonIter merged 1 commit intomainfrom
syt-vibe-kanban/a8c0-eject-only
Feb 28, 2026
Merged

docs: rename eject-only tag to theme-only#3169
SoonIter merged 1 commit intomainfrom
syt-vibe-kanban/a8c0-eject-only

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Feb 28, 2026

Summary

Related Issue

Checklist

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

AI Summary


Rename the custom eject-only tag to theme-only across all documentation and the custom Tag component.

What changed

  • Updated the custom Tag component (website/theme/components/Tag/index.tsx) to recognize theme-only instead of eject-only
  • Updated frontmatter tags in both EN and ZH icon docs (website/docs/{en,zh}/ui/icons/index.mdx)
  • Updated sidebar metadata tags in both EN and ZH _meta.json files
  • Updated code examples and descriptions in both EN and ZH Tag component docs (website/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-only clearly communicates that the feature "requires a custom theme", and is consistent in length and style with existing tags like non-ejectable and experimental.

This PR was written using Vibe Kanban


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.
Copilot AI review requested due to automatic review settings February 28, 2026 07:08
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 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 Tag component to render a warning badge for theme-only instead of eject-only.
  • Replace eject-only with theme-only across both zh/en docs frontmatter and Tag documentation examples.
  • Update zh/en UI _meta.json entries 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.

@github-actions
Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

Found 3 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
node 12.0 MB 0
node_md 1.5 MB 0
web 15.9 MB 0

Generated by Rsdoctor GitHub Action

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

Deploying rspress-v2 with  Cloudflare Pages  Cloudflare Pages

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

View logs

@SoonIter SoonIter changed the title 想给文档中的 eject-only 换一个名字,只是想表达 "需要配合自定义主题使用" (vibe-kanban) docs: rename eject-only tag to theme-only Feb 28, 2026
@SoonIter SoonIter enabled auto-merge (squash) February 28, 2026 07:18
@SoonIter SoonIter merged commit 3207806 into main Feb 28, 2026
11 checks passed
@SoonIter SoonIter deleted the syt-vibe-kanban/a8c0-eject-only branch February 28, 2026 07:50
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.

3 participants