docs: sync agent-skills docs with release readiness sweep by JusterZhu · Pull Request #142 · GeneralLibrary/GeneralUpdate-Samples · GitHub
Skip to content

docs: sync agent-skills docs with release readiness sweep#142

Merged
JusterZhu merged 2 commits into
mainfrom
feat/flow-docs-bowl-drivelution-extension-mobile
Jun 25, 2026
Merged

docs: sync agent-skills docs with release readiness sweep#142
JusterZhu merged 2 commits into
mainfrom
feat/flow-docs-bowl-drivelution-extension-mobile

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Summary

Sync website agent-skills documentation with generalupdate-skill-codegen#fix/release-readiness-sweep.

Changes

  • Fix repo URLs: JusterZhuGeneralLibrary (6 occurrences in overview.md)
  • Bump NuGet version: 10.5.0-beta.710.5.0-rc.1 (all 6 agent-skills docs)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

JusterZhu and others added 2 commits June 25, 2026 15:47
… Avalonia.Android, Maui.Android

- Add 5 new Chinese flow docs (Bowl/Drivelution/Extension/Avalonia.Android/Maui.Android)
- Add 5 corresponding English i18n translations
- Restructure sidebar: group all flow docs under a collapsible '执行流程详解' category
- Update sidebar_label for all flow docs with component-specific names
- Add English i18n label for the new category
- Fix repo URLs: JusterZhu → GeneralLibrary
- Bump NuGet version: 10.5.0-beta.7 → 10.5.0-rc.1
- Align with generalupdate-skill-codegen v0.0.2-beta.1 release

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 25, 2026 11:33

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.

Pull request overview

This PR updates the Docusaurus documentation site to align “agent-skills” docs with a release-readiness sweep and to expand the documentation set with new “execution flow deep dive” pages across multiple GeneralUpdate components (CN default + EN i18n), including sidebar navigation updates.

Changes:

  • Adjust the documentation sidebar to add a new “执行流程详解” category grouping execution-flow deep dive pages.
  • Add new execution-flow deep dive docs for Bowl / Drivelution / Extension / Avalonia.Android / Maui.Android (CN + EN i18n) and tweak Core-flow sidebar labels.
  • Update the agent-skills overview to reference NuGet 10.5.0-rc.1 (but other Agent Skills pages still reference 10.5.0-beta.7).

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
website/sidebars.js Adds an “执行流程详解” category and links the new flow deep-dive docs in the Components sidebar.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Maui.Android-flow.md New EN deep-dive doc for MAUI Android execution flow.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Extension-flow.md New EN deep-dive doc for Extension execution flow.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Drivelution-flow.md New EN deep-dive doc for Drivelution execution flow.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Core-flow.md Updates EN Core-flow sidebar label for clarity.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Bowl-flow.md New EN deep-dive doc for Bowl execution flow.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/Avalonia.Android-flow.md New EN deep-dive doc for Avalonia.Android execution flow.
website/i18n/en/docusaurus-plugin-content-docs/current.json Adds i18n label mapping for the new “执行流程详解” sidebar category.
website/docs/doc/Maui.Android-flow.md New CN deep-dive doc for MAUI Android execution flow.
website/docs/doc/Extension-flow.md New CN deep-dive doc for Extension execution flow.
website/docs/doc/Drivelution-flow.md New CN deep-dive doc for Drivelution execution flow.
website/docs/doc/Core-flow.md Updates CN Core-flow sidebar label for clarity.
website/docs/doc/Bowl-flow.md New CN deep-dive doc for Bowl execution flow.
website/docs/doc/Avalonia.Android-flow.md New CN deep-dive doc for Avalonia.Android execution flow.
website/docs/agent-skills/overview.md Updates Agent Skills overview to reference NuGet 10.5.0-rc.1 and adjusts related notes.

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

Comment on lines +330 to +335
> ⚠️ **NuGet 引用规则(v10.5.0-rc.1)**:
> - Core only: `dotnet add package GeneralUpdate.Core --version 10.5.0-rc.1`
> - With Bowl: 同时引用 `GeneralUpdate.Core` 和 `GeneralUpdate.Bowl`(v10.5.0-rc.1 中无类型冲突)
> - Differential 已嵌入 Core,**无需**额外引用 `GeneralUpdate.Differential`

> ⚠️ **API Surface**: v10.5.0-beta.7 采用了全新的配置系统:
> ⚠️ **API Surface**: v10.5.0-rc.1 采用了全新的配置系统:
Comment on lines +368 to 372
Updated for GeneralUpdate v10.5.0-rc.1 API:
- Configinfo → UpdateRequest (namespace: `GeneralUpdate.Core.Configuration`)
- Event args moved to `GeneralUpdate.Core.Download` and `GeneralUpdate.Core.Event`
- Added SetSource(), SetOption(), `Hooks<T>()`, `Strategy<T>()` API coverage
- Updated all strategy examples to use the new API
Comment on lines +289 to +304
{
for (int attempt = 0; attempt <= MaxRetries; attempt++)
{
var result = await action(ct);
if (result.Success) return result;

if (attempt < MaxRetries)
{
var delay = UseExponentialBackoff
? RetryIntervalMs * Math.Pow(2, attempt)
: RetryIntervalMs;
await Task.Delay((int)delay, ct);
}
}
// 所有重试耗尽,返回最后一次失败结果
}
Comment on lines +233 to +246
@JusterZhu JusterZhu merged commit 3cf5c1a into main Jun 25, 2026
3 checks passed
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