Skip to content

Commit 9909476

Browse files
JusterZhuclaude
andcommitted
fix: remove .md suffix from all internal Docusaurus links
Docusaurus resolves internal doc links without the .md extension. Links with .md suffix break when the target document's i18n override is removed (Docusaurus falls back to docs/ but can't match the .md suffix). This was pre-existing but masked by zh-Hans i18n overrides for Core and Differential docs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 01ad34f commit 9909476

25 files changed

Lines changed: 89 additions & 89 deletions

website/docs/doc/GeneralUpdate.Bowl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,4 +417,4 @@ MyApp/
417417

418418
- [Bowl 示例代码](https://github.com/GeneralLibrary/GeneralUpdate-Samples/tree/main/src/Bowl)
419419
- [GeneralUpdate 仓库](https://github.com/GeneralLibrary/GeneralUpdate)
420-
- [Dump 指南](../guide/Dump.md)
420+
- [Dump 指南](../guide/Dump)

website/docs/doc/GeneralUpdate.Core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,5 +1010,5 @@ var failedVersion = Environments.Get("UpgradeFail");
10101010
- [GeneralUpdate 仓库](https://github.com/GeneralLibrary/GeneralUpdate)
10111011
- [Samples 示例代码](https://github.com/GeneralLibrary/GeneralUpdate-Samples)
10121012
- [GeneralUpdate.Tools](https://github.com/GeneralLibrary/GeneralUpdate.Tools)
1013-
- [入门实战手册](../quickstart/Beginner%20cookbook.md)
1014-
- [组件文档](./GeneralUpdate.Core.md)
1013+
- [入门实战手册](../quickstart/Beginner%20cookbook)
1014+
- [组件文档](./GeneralUpdate.Core)

website/docs/doc/GeneralUpdate.Differential.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,5 +363,5 @@ await new GeneralUpdateBootstrap()
363363

364364
- [GeneralUpdate 仓库](https://github.com/GeneralLibrary/GeneralUpdate)
365365
- [Samples 差分示例](https://github.com/GeneralLibrary/GeneralUpdate-Samples/tree/main/src/Hub/Samples/DifferentialSample.cs)
366-
- [Core DiffPipeline 文档](GeneralUpdate.Core.md)
367-
- [Tools 打包指南](../guide/Packaging.md)
366+
- [Core DiffPipeline 文档](GeneralUpdate.Core)
367+
- [Tools 打包指南](../guide/Packaging)

website/docs/doc/GeneralUpdate.Drivelution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,4 +554,4 @@ GeneralTracer.SetTracingEnabled(true);
554554

555555
- [驱动更新示例](https://github.com/GeneralLibrary/GeneralUpdate-Samples/tree/main/src/Hub/Samples/ImDiskQuickInstallSample.cs)
556556
- [GeneralUpdate 仓库](https://github.com/GeneralLibrary/GeneralUpdate)
557-
- [GeneralUpdate.Drivelution 组件文档](../doc/GeneralUpdate.Drivelution.md)
557+
- [GeneralUpdate.Drivelution 组件文档](../doc/GeneralUpdate.Drivelution)

website/docs/doc/GeneralUpdate.Extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,4 +676,4 @@ report-extension_1.0.0.zip
676676

677677
- [扩展管理示例](https://github.com/GeneralLibrary/GeneralUpdate-Samples/tree/main/src/Hub/Samples/ExtensionSample.cs)
678678
- [GeneralUpdate 仓库](https://github.com/GeneralLibrary/GeneralUpdate)
679-
- [打包指南](../guide/Packaging.md)
679+
- [打包指南](../guide/Packaging)

website/docs/doc/UpgradeHub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,4 +363,4 @@ await new GeneralClientBootstrap()
363363

364364
- **示例代码:** [查看 GitHub 示例](https://github.com/GeneralLibrary/GeneralUpdate-Samples/blob/main/src/Push/Program.cs)
365365
- **主仓库:** [GeneralUpdate 项目](https://github.com/GeneralLibrary/GeneralUpdate)
366-
- **相关组件:** [GeneralUpdate.Core](./GeneralUpdate.Core.md) | [GeneralUpdate.Core](./GeneralUpdate.Core.md)
366+
- **相关组件:** [GeneralUpdate.Core](./GeneralUpdate.Core) | [GeneralUpdate.Core](./GeneralUpdate.Core)

website/docs/guide/FAQ.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ await new GeneralClientBootstrap()
332332

333333
## 相关资源
334334

335-
- **[GeneralUpdate.Core](../doc/GeneralUpdate.Core.md)** — 核心更新引擎
336-
- **[入门实战手册](../quickstart/Beginner%20cookbook.md)** — 从零跑通更新闭环
337-
- **[GeneralUpdate.Tools](../quickstart/GeneralUpdate.PacketTool.md)** — 打包工具
338-
- **[GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl.md)** — 崩溃监控与回滚
335+
- **[GeneralUpdate.Core](../doc/GeneralUpdate.Core)** — 核心更新引擎
336+
- **[入门实战手册](../quickstart/Beginner%20cookbook)** — 从零跑通更新闭环
337+
- **[GeneralUpdate.Tools](../quickstart/GeneralUpdate.PacketTool)** — 打包工具
338+
- **[GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl)** — 崩溃监控与回滚

website/docs/guide/Packaging.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ await new GeneralUpdateBootstrap()
120120
**避免 C 盘权限问题:**
121121

122122
- 建议默认安装到 `%LOCALAPPDATA%` 而非 `C:\Program Files\`
123-
- 如必须安装在 C 盘,参考 [权限指南](./Permission.md) 配置注册表降权
123+
- 如必须安装在 C 盘,参考 [权限指南](./Permission) 配置注册表降权
124124

125125
**Windows 发布命令:**
126126

@@ -280,6 +280,6 @@ jobs:
280280
## 相关资源
281281

282282
- **[GeneralUpdate.Tools](../quickstart/GeneralUpdate.PacketTool)** — 补丁包和配置生成工具
283-
- **[权限指南](./Permission.md)** — Windows UAC 权限处理
284-
- **[入门实战手册](../quickstart/Beginner%20cookbook.md)** — 从零跑通更新闭环
285-
- **[GeneralUpdate.Core](../doc/GeneralUpdate.Core.md)** — 核心更新引擎架构
283+
- **[权限指南](./Permission)** — Windows UAC 权限处理
284+
- **[入门实战手册](../quickstart/Beginner%20cookbook)** — 从零跑通更新闭环
285+
- **[GeneralUpdate.Core](../doc/GeneralUpdate.Core)** — 核心更新引擎架构

website/docs/quickstart/Beginner cookbook.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ title: 入门实战手册
1111

1212
| 角色 | 在样例中的位置 | 负责什么 | 深入阅读 |
1313
| --- | --- | --- | --- |
14-
| Hub | `src\Hub` | 交互式示例浏览器,通过菜单选择并运行各类更新场景 | [GeneralUpdate.Core](../doc/GeneralUpdate.Core.md) |
15-
| Server | `src\Server` | 返回版本信息、接收更新报告、提供补丁下载 | [GeneralUpdate.Core](../doc/GeneralUpdate.Core.md) |
16-
| Packet | `src\Server\wwwroot\packages` | 可下载的 `.zip` 更新包和 `versions.json` 元数据 | [GeneralUpdate.Tools](./GeneralUpdate.PacketTool.md) |
17-
| Tools | GeneralUpdate.Tools 仓库 | 生成补丁包、Hash、OSS 清单、manifest 和仿真报告 | [GeneralUpdate.Tools](./GeneralUpdate.PacketTool.md) |
18-
| Bowl | Hub Samples 中集成 | 监控进程异常并导出失败信息 | [GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl.md) |
19-
| Differential | Hub Samples + Core 默认集成 | 对 old/new 文件生成差分,并在更新阶段应用 | [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential.md) |
14+
| Hub | `src\Hub` | 交互式示例浏览器,通过菜单选择并运行各类更新场景 | [GeneralUpdate.Core](../doc/GeneralUpdate.Core) |
15+
| Server | `src\Server` | 返回版本信息、接收更新报告、提供补丁下载 | [GeneralUpdate.Core](../doc/GeneralUpdate.Core) |
16+
| Packet | `src\Server\wwwroot\packages` | 可下载的 `.zip` 更新包和 `versions.json` 元数据 | [GeneralUpdate.Tools](./GeneralUpdate.PacketTool) |
17+
| Tools | GeneralUpdate.Tools 仓库 | 生成补丁包、Hash、OSS 清单、manifest 和仿真报告 | [GeneralUpdate.Tools](./GeneralUpdate.PacketTool) |
18+
| Bowl | Hub Samples 中集成 | 监控进程异常并导出失败信息 | [GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl) |
19+
| Differential | Hub Samples + Core 默认集成 | 对 old/new 文件生成差分,并在更新阶段应用 | [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential) |
2020

2121
## Step 1:准备仓库和运行环境
2222

@@ -239,11 +239,11 @@ Hub 提供了 9 个内置样例,覆盖了 GeneralUpdate 的主要使用场景
239239

240240
跑通这条链路后,建议按顺序阅读:
241241

242-
1. [GeneralUpdate.Core](../doc/GeneralUpdate.Core.md):更新策略、事件通知、静默更新、manifest 极简配置。
243-
2. [GeneralUpdate.Tools](./GeneralUpdate.PacketTool.md):补丁包、Hash、OSS Config、Simulation。
244-
3. [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential.md):差分算法、并行处理和 Clean/Dirty。
245-
4. [GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl.md):崩溃监控、备份和失败恢复。
246-
5. [GeneralUpdate.Tools](./GeneralUpdate.PacketTool.md):补丁包、Hash、OSS Config、Simulation。
242+
1. [GeneralUpdate.Core](../doc/GeneralUpdate.Core):更新策略、事件通知、静默更新、manifest 极简配置。
243+
2. [GeneralUpdate.Tools](./GeneralUpdate.PacketTool):补丁包、Hash、OSS Config、Simulation。
244+
3. [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential):差分算法、并行处理和 Clean/Dirty。
245+
4. [GeneralUpdate.Bowl](../doc/GeneralUpdate.Bowl):崩溃监控、备份和失败恢复。
246+
5. [GeneralUpdate.Tools](./GeneralUpdate.PacketTool):补丁包、Hash、OSS Config、Simulation。
247247

248248
## Sample UI
249249

website/docs/quickstart/GeneralUpdate.PacketTool.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ dotnet run --project GeneralUpdate.Tools.csproj
144144

145145
- Extension Host 调用 `ExtensionManager.QueryRemoteExtensionsAsync(...)` 获取扩展列表
146146
- 安装时下载 ZIP,读取 `manifest.json` 进行兼容性检查和依赖解析
147-
- 详见 [GeneralUpdate.Extension](../doc/GeneralUpdate.Extension.md)
147+
- 详见 [GeneralUpdate.Extension](../doc/GeneralUpdate.Extension)
148148

149149
---
150150

@@ -189,7 +189,7 @@ dotnet run --project GeneralUpdate.Tools.csproj
189189

190190
-`oss_config.json` 上传到 OSS bucket 或静态文件服务器
191191
- OSS 客户端读取此文件发现可用版本,下载后校验 Hash
192-
- 详见 [GeneralUpdate.Core](../doc/GeneralUpdate.Core.md) OSS 更新策略
192+
- 详见 [GeneralUpdate.Core](../doc/GeneralUpdate.Core) OSS 更新策略
193193

194194
---
195195

@@ -349,7 +349,7 @@ Generate Sample 额外输出:
349349

350350
## 关联文档
351351

352-
- [GeneralUpdate.Core](../doc/GeneralUpdate.Core.md):Client/Upgrade 更新主流程
353-
- [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential.md):差分算法 Clean/Dirty 模式
354-
- [GeneralUpdate.Extension](../doc/GeneralUpdate.Extension.md):扩展包安装与版本管理
355-
- [入门实战手册](./Beginner%20cookbook.md):从零跑通完整更新闭环
352+
- [GeneralUpdate.Core](../doc/GeneralUpdate.Core):Client/Upgrade 更新主流程
353+
- [GeneralUpdate.Differential](../doc/GeneralUpdate.Differential):差分算法 Clean/Dirty 模式
354+
- [GeneralUpdate.Extension](../doc/GeneralUpdate.Extension):扩展包安装与版本管理
355+
- [入门实战手册](./Beginner%20cookbook):从零跑通完整更新闭环

0 commit comments

Comments
 (0)