Skip to content

Package icon, docs site, and integrated docs CI#6

Merged
poxet merged 1 commit into
masterfrom
feature/icon-and-docs
Jun 6, 2026
Merged

Package icon, docs site, and integrated docs CI#6
poxet merged 1 commit into
masterfrom
feature/icon-and-docs

Conversation

@poxet

@poxet poxet commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Bundles three pending requests from the central Requests notes (Move PackageIconUrl to thargelion.net/assets, Documentation sites under tharga.net, CI: Publish docs after release succeeds) into one PR — mirroring the feature/icon-and-docs branch convention already used by Tharga.Mcp and Tharga.Runtime.

Summary

  • Icon<PackageIconUrl> switched to https://thargelion.net/assets/component-test.png (verified 200 / image/png).
  • Docs site — DocFX site under docs/, served at test.tharga.net. Modeled on Tharga.Mcp: landing index.md, three articles (getting-started, assignment-checks, dependency-tests), API reference generated from Tharga.Test.Toolkit.csproj, custom thg template that constrains the navbar logo to 32px tall. docs/api/ is generated per build and gitignored (matches Mcp's actual git ls-files state — my initial plan to commit it was incorrect).
  • CI release chaindocs + docs-deploy jobs appended to .github/workflows/build.yml, both gated on github.ref == 'refs/heads/master' && github.event_name == 'push'. docs needs: release, so docs only deploy after the NuGet release succeeds. No separate docs.yml — adopts the integrated pattern from day one per the Requests guidance.
  • README links to the new docs URL.

Local checks: dotnet build -c Release is clean (0 warnings); docfx docs/docfx.json builds 14 models (5 conceptual + 5 managed-reference + 3 TOC + CNAME resource) with 0 warnings / 0 errors.

Manual follow-ups (cannot be done from a PR)

  • DNS: CNAME test.tharga.net → tharga.github.io
  • Repo Settings → Pages → Source = "GitHub Actions"
  • github-pages environment (typically auto-created on first deploy; verify after first run)

Test plan

  • CI workflow runs green on this PR (build, security, prerelease)
  • After merge: stable release 1.14.9 is published to NuGet
  • docs + docs-deploy jobs run after release and the site is reachable at https://test.tharga.net

- Bump <PackageIconUrl> to https://thargelion.net/assets/component-test.png
- Add DocFX site under docs/ (test.tharga.net), modeled on Tharga.Mcp:
  index + 3 articles (getting-started, assignment-checks, dependency-tests),
  custom thg template for navbar logo sizing, generated api/ gitignored
- Fold docs build + Pages deploy into build.yml as docs / docs-deploy jobs
  gated on `needs: release`, per the "integrated pattern from day one"
  guidance (Tharga.Runtime reference)
- README links to test.tharga.net
@poxet poxet merged commit 6ef105f into master Jun 6, 2026
6 of 7 checks passed
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Released as v1.14.10https://github.com/Tharga/Test/releases/tag/1.14.10

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.

1 participant