Skip to content

D8 fleet sync: add verify-docs-build job + DOCFX-VERSION-PICKER doc#107

Closed
Chris-Wolfgang wants to merge 1 commit into
mainfrom
protected/d8-verify-docs-build-fleet
Closed

D8 fleet sync: add verify-docs-build job + DOCFX-VERSION-PICKER doc#107
Chris-Wolfgang wants to merge 1 commit into
mainfrom
protected/d8-verify-docs-build-fleet

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

Fleet sync of the D8 canonical work from repo-template#395.

Changes

  • .github/workflows/release.yaml — adds a verify-docs-build job (Windows) before publish-nuget. Builds DocFX without deploying so a docs failure blocks the NuGet push instead of landing after the package is live. Gated by docfx_project/docfx.json existence (no-op on repos without docfx).
  • docs/DOCFX-VERSION-PICKER.md — canonical doc describing the version-picker mechanism whose assets already shipped fleet-wide.

Why protected merge

release.yaml is a protected path; this PR will trip the "Detect .NET Projects" guard on its own check. Use admin-bypass merge.

Source

Verbatim copy of repo-template/main after PR #395 merged.

Copilot AI review requested due to automatic review settings May 28, 2026 18:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fleet-syncs D8 work from repo-template#395: adds a verify-docs-build job to release.yaml so that DocFX build failures block the NuGet publish step (rather than landing after the package is already live), and adds the canonical DOCFX-VERSION-PICKER.md doc whose corresponding assets already exist in this repo.

Changes:

  • New verify-docs-build job in release.yaml, gated by presence of docfx_project/docfx.json, runs dotnet restore/build and docfx metadata/build, then verifies _site and _site/api.
  • publish-nuget now also depends on verify-docs-build so a docs failure blocks the NuGet publish.
  • Adds docs/DOCFX-VERSION-PICKER.md documenting the existing version-picker mechanism (not shown in diff).

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yaml Adds the verify-docs-build Windows job before publish-nuget and adds it to publish-nuget.needs.
docs/DOCFX-VERSION-PICKER.md New canonical doc for the version-picker mechanism (not in diff).

@Chris-Wolfgang

Copy link
Copy Markdown
Owner Author

Superseded by PR #112 (vNext → main release). Content is folded into the vNext release PR alongside the rest of the canonical maintenance round.

@Chris-Wolfgang Chris-Wolfgang deleted the protected/d8-verify-docs-build-fleet branch June 22, 2026 17:37
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.

2 participants