docs: some docs tag from new to updated#3120
Conversation
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.
Deploying rspress-v2 with
|
| 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 |
Rsdoctor Bundle Diff AnalysisFound 3 projects in monorepo, 3 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 nodePath:
📦 Download Diff Report: node Bundle Diff 📁 node_mdPath:
📦 Download Diff Report: node_md Bundle Diff 📁 webPath:
📦 Download Diff Report: web Bundle Diff Generated by Rsdoctor GitHub Action |
There was a problem hiding this comment.
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
upgradedspecial-case in the website Tag component to render it as a tip-style badge. - Change several EN/ZH docs pages/sections from
tag: newtotag: upgraded. - Update EN/ZH guide
_meta.jsonsection 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.
Summary
同步英文文档的 tag 修改到中文文档。
Changes
将以下文件的 tag 从 `upgraded` 改为 `new`:
英文文档 (已提交)
中文文档 (本次同步)