Skip to content

Add versioned documentation artifacts to releases - #65

Merged
ProGraMajster merged 1 commit into
masterfrom
codex/versioned-release-documentation
Aug 16, 2026
Merged

Add versioned documentation artifacts to releases#65
ProGraMajster merged 1 commit into
masterfrom
codex/versioned-release-documentation

Conversation

@ProGraMajster

Copy link
Copy Markdown
Owner

Summary

ModernFormsNext releases will publish versioned documentation and sample bundles generated from the exact release tag and commit. Users of a specific NuGet version can therefore keep matching documentation instead of relying on the evolving content on master.

Artifacts

  • ModernFormsNext-<version>-docs.zip: README, CHANGELOG, release notes, documentation sources, Release XML docs, public API snapshots, and metadata.
  • ModernFormsNext-<version>-docs-html.zip: self-contained offline DocFX HTML, API reference, local assets, release notes, and metadata.
  • ModernFormsNext-<version>-samples.zip: selected NuGet-based samples: ControlGallery, Explorer, Outlaw, plus DemoApp as a template reference rather than a playground.
  • ModernFormsNext-<version>-sdk.zip: aggregate offline/reference bundle with source docs, HTML, samples, XML docs, API snapshots, release notes, licenses, and metadata.

Release workflow

The release workflow restores the pinned DocFX tool, builds and tests the solution, packs and validates NuGet packages, then builds and validates all documentation archives before creating the GitHub Release or publishing NuGet packages.

SemVer is derived from the release tag. Release mode requires the exact v<version> tag, verifies that the tag resolves to github.sha, and records the full commit SHA in every bundle. The release assets and NuGet packages therefore correspond to the same tagged commit.

Validation

  • Full restore: PASS
  • Debug build: PASS — 0 warnings / 0 errors
  • Release build: PASS — 0 warnings / 0 errors
  • Tests: 1083/1083
  • Release pack: PASS
  • NuGet packages validated: 8
  • Symbol packages validated: 7
  • DocFX: PASS — 0 warnings / 0 errors
  • Documentation script tests: 32/32
  • git diff --check: PASS

Local dry-run

A local prerelease dry-run generated all four ZIP archives and passed Validate-ReleaseDocumentation.ps1. Generated dry-run archives remain under ignored artifacts/ and are not committed.

Compatibility / safety

The change is additive and does not alter runtime APIs, package versions, rendering, layout, or platform behavior. Bundle inputs are allowlisted from tracked files; validation rejects build outputs, packages, signing material, user-specific files, machine paths, traversal, broken offline links, mismatched metadata, and incorrect sample package versions.

Generate version-bound source docs, offline HTML docs, and samples bundles.

Add release metadata and validate archive contents.

Attach documentation bundles to GitHub Releases.

Keep release artifacts tied to the exact tag and commit.

Support local dry-runs and document the maintainer workflow.
@ProGraMajster
ProGraMajster merged commit 9a4949e into master Aug 16, 2026
1 check passed
@ProGraMajster
ProGraMajster deleted the codex/versioned-release-documentation branch August 16, 2026 14:14
@github-project-automation github-project-automation Bot moved this from Backlog to Done in ModernFormsNext Roadmap Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant