Skip to content

docs: clean up GeneralUpdate.Tools navigation and fix zh/en language mixing - #149

Merged
JusterZhu merged 2 commits into
mainfrom
docs/cleanup-tools-nav-and-i18n
Nov 23, 2026
Merged

JusterZhu merged 2 commits into
mainfrom
docs/cleanup-tools-nav-and-i18n

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

变更内容

1. 清理 GeneralUpdate.Tools 旧导航(#147/#148 遗留)

  • 移除顶部导航栏独立的「GeneralUpdate.Tools」下拉(在线帮助 / Release Log / GitHub Releases):Tools 已有独立文档实例,该入口重复且指向旧路径。
  • 移除 /docs/quickstart(版本 10.5.0)侧边栏里的 GeneralUpdate.PacketTool;Tools 文档统一从 /tools/quickstart/GeneralUpdate.PacketTool 进入。

2. 修复中英文混排

  • 中文站侧边栏分类:
    • /docs(10.5.0)的 Quick Start / Components / Release Log → 快速入门 / 组件文档 / 发布日志(与 /docs/next 对齐);
    • /zip、/maui、/avalonia、/tools 的 Release Log → 发布日志(含各自冻结版本)。
  • 中文站页脚:Doc / Community / More → 文档 / 社区 / 更多。
  • 中文站导航栏 Tools 版本号:Current → 当前。
  • 英文站导航栏:源码平台 → Source Platforms。
  • /docs/doc/Component Introduction(10.5.0)此前整页英文:补中文译文,并命名为「组件介绍」。
  • 英文站:恢复 Drivelution / Maui 执行流程目录锚点对应的标题(消除 6 条 broken anchors);Chinese documentation 链接改指线上中文页。

验证

  • npm run build(zh-Hans + en)通过,无 broken links / broken anchors 警告。
  • 扫描构建产物 92 个中文页 + 92 个英文页的导航栏、侧边栏、页脚与正文,确认以上范围内不再混排。

未包含(可后续单独处理)

  • /en/corporate-wall 公司名仍为中文(缺官方英文名)。
  • 中文站 Tools 更新日志正文为英文(源文件本身英文)。

合并到 main 后 deploy-docs.yml 会自动构建并部署。

- remove the standalone GeneralUpdate.Tools navbar dropdown that duplicated the docs version menu and pointed at the old /docs/quickstart/GeneralUpdate.PacketTool page
- drop the legacy Tools entry from the 10.5.0 Quick Start sidebar; Tools docs now live under /tools
…d docs

- translate 10.5.0 and per-product sidebar categories plus the Tools version label into Chinese
- translate the zh footer column titles and the EN navbar Source Platforms label
- add zh content for /docs/doc/Component Introduction (10.5.0) and name it 组件介绍
- restore the EN headings used by the Drivelution/Maui TOC anchors and point the Chinese documentation link at the published zh page
Copilot AI balanced review requested due to automatic review settings November 23, 2026 14:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@JusterZhu
JusterZhu merged commit 67bf2bb into main Nov 23, 2026
2 checks passed
@JusterZhu
JusterZhu deleted the docs/cleanup-tools-nav-and-i18n branch November 23, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants