SHA256
- Added LICENSE.md file with Apache License 2.0 text. - Created NOTICE file for attribution of third-party components. - Updated README.md to reflect the new license and included details about the Apache-2.0 license. - Documented the license change in the diary entry for July 12, 2026. - Updated installation instructions in getting-started.md to reflect per-user installation. - Added reusable license header to all source files. - Updated various documentation files to mention the new Apache-2.0 license. - Changed legal mentions in example content to reflect the new license.
30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# GitCover.WebStaticBuilder — Agent Skills
|
|
|
|
Quelle der Wahrheit für Agenten-Kollaboration an diesem Tool.
|
|
|
|
## Was das Tool ist
|
|
Eigenständiger Static-Site-Generator (C#/.NET 10, Assembly `webstatic`), Apache-2.0.
|
|
Kein Python. Suchindex via `npx pagefind` (optional). Früher Submodul der
|
|
GCBoK-Website (`www/build`), jetzt unter `/opt/GitCover/webstatic`.
|
|
|
|
## Kanonischer Build/Verify
|
|
```
|
|
dotnet build -c Release
|
|
dotnet bin/Release/net10.0/webstatic.dll build --env work --verbose
|
|
dotnet bin/Release/net10.0/webstatic.dll serve --port 8000
|
|
```
|
|
|
|
## Konventionen
|
|
- Namespace `GitCover.WebStaticBuilder`; `Program.cs` braucht `using GitCover.WebStaticBuilder;`.
|
|
- Package-Versionen explizit pinnen; `<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>` gesetzt.
|
|
- Pfade generisch über `Directories` + `BuildConfig.Paths` (nie `www/` hartkodieren).
|
|
- i18n via `{{ i18n.* }}` + `i18n.json` (Fallback EN).
|
|
- Config-Priorität: CLI > `webstatic.json` > Defaults.
|
|
|
|
## Bekannte Fallstricke
|
|
- NU1015 → Version pinnen. CS0103 in Program.cs → using. CS8361 → Ternär in Klammern.
|
|
- `BuildSectionsHtml` gibt `string` zurück (nicht `StringBuilder`) für `.Replace`.
|
|
|
|
## Struktur
|
|
plans/ docs/ diary/ src/ tests/ webstatic.example/ install.sh LICENSE
|