Skip to content

docs: some docs tag from new to updated#3120

Merged
SoonIter merged 5 commits intomainfrom
syt-vibe-kanban/f5f2-tag-upgraded-web
Feb 10, 2026
Merged

docs: some docs tag from new to updated#3120
SoonIter merged 5 commits intomainfrom
syt-vibe-kanban/f5f2-tag-upgraded-web

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Feb 9, 2026

Summary

同步英文文档的 tag 修改到中文文档。

Changes

将以下文件的 tag 从 `upgraded` 改为 `new`:

英文文档 (已提交)

  • `website/docs/en/_nav.json`
  • `website/docs/en/plugin/official-plugins/algolia.mdx`
  • `website/docs/en/plugin/official-plugins/llms.mdx`
  • `website/docs/en/plugin/official-plugins/sitemap.mdx`
  • `website/docs/en/plugin/official-plugins/twoslash.mdx`

中文文档 (本次同步)

  • `website/docs/zh/plugin/official-plugins/algolia.mdx`
  • `website/docs/zh/plugin/official-plugins/llms.mdx`
  • `website/docs/zh/plugin/official-plugins/sitemap.mdx`
  • `website/docs/zh/plugin/official-plugins/twoslash.mdx`

注: `website/docs/zh/_nav.json` 原本就是 `new`,无需修改。

Add a new 'upgraded' tag (tip badge type) to the website custom Tag
component and change existing 'new' tags to 'upgraded' across docs
frontmatter, _nav.json, and _meta.json files.
Copilot AI review requested due to automatic review settings February 9, 2026 09:41
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Feb 9, 2026

Deploying rspress-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: a2d9e15
Status: ✅  Deploy successful!
Preview URL: https://680be00f.rspress-v2.pages.dev
Branch Preview URL: https://syt-vibe-kanban-f5f2-tag-upg.rspress-v2.pages.dev

View logs

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

Rsdoctor Bundle Diff Analysis

Found 3 projects in monorepo, 3 projects with changes.

📊 Quick Summary
Project Total Size Change
node 11.9 MB +1.1 KB (0.0%)
node_md 1.5 MB -756.0 B (-0.0%)
web 15.8 MB -856.0 B (-0.0%)
📋 Detailed Reports (Click to expand)

📁 node

Path: website/doc_build/diff-rsdoctor/node/rsdoctor-data.json

📌 Baseline Commit: fb506b8df9 | PR: #3119

Metric Current Baseline Change
📊 Total Size 11.9 MB 11.9 MB +1.1 KB (0.0%)
📄 JavaScript 0 B 0 B 0
🎨 CSS 0 B 0 B 0
🌐 HTML 11.9 MB 11.9 MB +1.1 KB (0.0%)
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: node Bundle Diff

📁 node_md

Path: website/doc_build/diff-rsdoctor/node_md/rsdoctor-data.json

📌 Baseline Commit: fb506b8df9 | PR: #3119

Metric Current Baseline Change
📊 Total Size 1.5 MB 1.5 MB -756.0 B (-0.0%)
📄 JavaScript 0 B 0 B 0
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 1.5 MB 1.5 MB -756.0 B (-0.0%)

📦 Download Diff Report: node_md Bundle Diff

📁 web

Path: website/doc_build/diff-rsdoctor/web/rsdoctor-data.json

📌 Baseline Commit: fb506b8df9 | PR: #3119

Metric Current Baseline Change
📊 Total Size 15.8 MB 15.8 MB -856.0 B (-0.0%)
📄 JavaScript 15.5 MB 15.5 MB -902.0 B (-0.0%)
🎨 CSS 119.6 KB 119.6 KB 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 166.4 KB 166.3 KB +46.0 B (0.0%)

📦 Download Diff Report: web Bundle Diff

Generated by Rsdoctor GitHub Action

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 updates documentation tag metadata and the website Tag rendering, introducing explicit support for an upgraded tag and changing multiple docs pages/sections to use upgraded in frontmatter and _meta.json.

Changes:

  • Add an upgraded special-case in the website Tag component to render it as a tip-style badge.
  • Change several EN/ZH docs pages/sections from tag: new to tag: upgraded.
  • Update EN/ZH guide _meta.json section header tags from "new" to "upgraded".

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
website/theme/components/Tag/index.tsx Adds explicit rendering for upgraded tags as a tip badge.
website/docs/en/ui/layout-components/tag.mdx Changes the page’s frontmatter tag to upgraded.
website/docs/zh/ui/layout-components/tag.mdx Changes the page’s frontmatter tag to upgraded.
website/docs/en/plugin/official-plugins/preview.mdx Changes plugin doc frontmatter tag to upgraded.
website/docs/zh/plugin/official-plugins/preview.mdx Changes plugin doc frontmatter tag to upgraded.
website/docs/en/guide/basic/auto-nav-sidebar.mdx Changes guide page frontmatter tag to upgraded.
website/docs/zh/guide/basic/auto-nav-sidebar.mdx Changes guide page frontmatter tag to upgraded.
website/docs/en/guide/_meta.json Changes a section header tag to "upgraded".
website/docs/zh/guide/_meta.json Changes a section header tag to "upgraded".

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

Comment thread website/docs/en/ui/layout-components/tag.mdx Outdated
Comment thread website/docs/zh/ui/layout-components/tag.mdx
Comment thread website/theme/components/Tag/index.tsx Outdated
Comment thread website/docs/en/plugin/official-plugins/preview.mdx
Comment thread website/docs/zh/plugin/official-plugins/preview.mdx
Comment thread website/docs/en/ui/layout-components/tag.mdx
@SoonIter SoonIter enabled auto-merge (squash) February 10, 2026 04:14
@SoonIter SoonIter merged commit 21f9dc5 into main Feb 10, 2026
5 checks passed
@SoonIter SoonIter deleted the syt-vibe-kanban/f5f2-tag-upgraded-web branch February 10, 2026 05:04
@SoonIter SoonIter changed the title chore(docs): sync zh docs tag from upgraded to new docs: some docs tag from new to updated Feb 10, 2026
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