Skip to content

Commit 1f33480

Browse files
JusterZhuclaude
andcommitted
feat(docs): comprehensive documentation overhaul and CI setup
**Documentation rewrites (all components):** - GeneralUpdate.Core — unified API reference with strategies, pipeline, events - GeneralUpdate.Differential — Clean/Dirty semantics, algorithm selection, compression - GeneralUpdate.Bowl — lifecycle, crash detection, backup recovery, BowlContext API - GeneralUpdate.Drivelution — cross-platform driver update pipeline, batch/parallel modes - GeneralUpdate.Extension — plugin management, manifest, query/install/update lifecycle - GeneralUpdate.Tools — six modules, download methods, downstream consumers **Cookbooks & guides:** - Beginner cookbook — rewritten for new Hub-based sample structure - Advanced cookbook — production deployment, CI/CD, enterprise integration - Android auto-update — Maui & Avalonia documentation - Architecture, Configuration, FAQ, Packaging, Pipeline, Security guides **Architecture cleanup:** - Remove GeneralUpdate.ClientCore and GeneralUpdate.Common (merged into Core) - Define Docusaurus IA, sidebar structure, and i18n layout - Reference Semantic Versioning (semver.org) in version standards **CI & build:** - Add src/GeneralUpdate-Samples.slnx solution file - Update CI workflow: .NET build + website build verification - Fix all broken markdown links for Docusaurus compatibility - Remove broken image references Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a253ff7 commit 1f33480

88 files changed

Lines changed: 12727 additions & 11810 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/dotnet.yml

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: .NET
1+
name: Build & Verify
22

33
on:
44
push:
@@ -7,27 +7,49 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build:
11-
10+
# ═══════════════════════════════════════════════════════════════
11+
# .NET Solution Build
12+
# ═══════════════════════════════════════════════════════════════
13+
dotnet:
14+
name: .NET Build
1215
runs-on: ubuntu-latest
1316

1417
steps:
1518
- uses: actions/checkout@v4
1619

17-
- name: Setup .NET 8
18-
uses: actions/setup-dotnet@v4
19-
with:
20-
dotnet-version: 8.0.x
21-
2220
- name: Setup .NET 10
2321
uses: actions/setup-dotnet@v4
2422
with:
2523
dotnet-version: 10.0.x
2624

27-
- name: Build ServerSample
28-
run: dotnet build ./src/Server/ServerSample.sln
25+
- name: Restore dependencies
26+
run: dotnet restore ./src/GeneralUpdate-Samples.slnx
27+
28+
- name: Build solution
29+
run: dotnet build ./src/GeneralUpdate-Samples.slnx --no-restore -c Release
30+
31+
# ═══════════════════════════════════════════════════════════════
32+
# Docusaurus Website Build
33+
# ═══════════════════════════════════════════════════════════════
34+
website:
35+
name: Website Build
36+
runs-on: ubuntu-latest
37+
defaults:
38+
run:
39+
working-directory: ./website
40+
41+
steps:
42+
- uses: actions/checkout@v4
43+
44+
- name: Setup Node.js
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: '20'
48+
cache: 'npm'
49+
cache-dependency-path: website/package-lock.json
50+
51+
- name: Install dependencies
52+
run: npm ci
2953

30-
# Hub build requires local DLLs (libs/) or matching NuGet packages.
31-
# Enable when NuGet packages are published from latest GeneralUpdate source.
32-
# - name: Build Hub (NuGet mode)
33-
# run: dotnet build ./src/Hub/Hub.csproj -p:UseNuGet=true
54+
- name: Build website
55+
run: npm run build

src/Hub/Samples/DrivelutionSample.cs

Lines changed: 0 additions & 249 deletions
This file was deleted.

0 commit comments

Comments
 (0)