{{ message }}
feat(docs): add execution flow docs for Bowl, Drivelution, Extension, Avalonia.Android, Maui.Android#141
Merged
Conversation
… 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
There was a problem hiding this comment.
Pull request overview
This PR expands the documentation set by adding execution-flow deep-dive pages for multiple GeneralUpdate components (Chinese originals plus English i18n translations) and reorganizes the Docusaurus sidebar to group all flow docs under a dedicated collapsible category.
Changes:
- Added 5 new execution-flow deep-dive docs under
website/docs/doc/(Chinese). - Added corresponding 5 English i18n docs under
website/i18n/en/.../doc/. - Updated sidebar structure and adjusted flow-doc
sidebar_labels (including Core) to be component-specific, plus added an i18n sidebar category label.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| website/sidebars.js | Flattens component reference docs; groups all flow docs under a collapsible “执行流程详解” category. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Maui.Android-flow.md | Adds English Maui.Android execution-flow deep dive. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Extension-flow.md | Adds English Extension execution-flow deep dive. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Drivelution-flow.md | Adds English Drivelution execution-flow deep dive. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Bowl-flow.md | Adds English Bowl execution-flow deep dive. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Avalonia.Android-flow.md | Adds English Avalonia.Android execution-flow deep dive. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Core-flow.md | Updates Core flow doc sidebar label to be component-specific. |
| website/i18n/en/docusaurus-plugin-content-docs/current.json | Adds English translation for the new sidebar category label “执行流程详解”. |
| website/docs/doc/Maui.Android-flow.md | Adds Chinese Maui.Android execution-flow deep dive. |
| website/docs/doc/Extension-flow.md | Adds Chinese Extension execution-flow deep dive. |
| website/docs/doc/Drivelution-flow.md | Adds Chinese Drivelution execution-flow deep dive. |
| website/docs/doc/Bowl-flow.md | Adds Chinese Bowl execution-flow deep dive. |
| website/docs/doc/Avalonia.Android-flow.md | Adds Chinese Avalonia.Android execution-flow deep dive. |
| website/docs/doc/Core-flow.md | Updates Core flow doc sidebar label to be component-specific. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ```csharp | ||
| // UpdateFileStore.ReplaceTemporaryWithFinal | ||
| File.Move(temporaryPath, targetPath); // Atomic rename |
Comment on lines
+231
to
+246
| public async Task<PipelineResult> ExecuteAsync( | ||
| Func<CancellationToken, Task<PipelineResult>> action, CancellationToken ct) | ||
| { | ||
| 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
+286
to
+304
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds 5 new Chinese flow documentation pages and 5 corresponding English translations, following the same deep-dive format as the existing
Core-flow.md.New docs (Chinese)
doc/Bowl-flow.mddoc/Drivelution-flow.mddoc/Extension-flow.mddoc/Avalonia.Android-flow.mddoc/Maui.Android-flow.md#if ANDROIDguardNew docs (English i18n)
Corresponding English translations for all 5 pages under
i18n/en/.../doc/.Sidebar changes
Restructured Components section: all component reference docs are flat, and all flow docs are grouped under a collapsible 执行流程详解 / Execution Flow category at the bottom.
Other changes
sidebar_labelfor all flow docs to use component-specific names (e.g., "Bowl 执行流程" instead of "执行流程详解")🤖 Generated with Claude Code