Repository navigation
docs: publish the docs on GitHub Pages, one build per line - #419
Merged
Merged
Conversation
DocFX builds the README, the guides, the package READMEs, the changelog, the contributor pages and an API reference from the published assemblies' XML docs. The pages are the Markdown files as they are, so claims.json keeps quoting what readers see. One config on main builds release/10.x into /10.x/ and main into /11.x/. The root redirects to 10.x until v11.0.0. A push to release/10.x publishes through workflow_run on the .NET workflow, so that branch needs no copy of site/ or docs.yml. Warnings are errors, so a broken link fails the build, including on PRs into main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
CaffeinatedCoder
added a commit
that referenced
this pull request
Oct 25, 2026
…hrough (#424, port) From main's #425: a Docs badge, the walkthrough pointer beside Getting started, the June 2026 article badges moved to a dated line, every package README linking the site and the walkthrough, and PackageProjectUrl opening the site. On 10.x, the changelog line goes under 10.3.0 ### Changed. In the package changelogs it replaces "No change in this package." The README also takes the documentation-site sentence the articles line follows, which main has had since #419. The Discussions line beside it on main (#414) isn't part of this port. (cherry picked from commit 150d9ef) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #417
Problem
The consumer docs could only be read as Markdown on GitHub. GitHub shows
main, which is the 11 preview line, whiledotnet add packageinstalls 10.x. The consumer guides and the contributor pages sat side by side with no navigation between them, and there was no search and no API reference.Change
site/: the DocFX config, the navigation (toc.yml) andbuild.sh.claims.jsonkeeps quoting what readers see.LICENSEand the skill files are copied as resources..github/workflows/docs.yml: buildsrelease/10.xinto/10.x/andmaininto/11.x/, then deploys both withactions/deploy-pages.main's config.release/10.xgets no copy: a push there publishes throughworkflow_runon the .NET workflow, which always runsmain's file.release/10.xout by name.mainbuilds both lines and publishes nothing.site/root/: the root redirects to10.x/untilv11.0.0.versions.htmllists both lines and is linked from every page's "Versions" menu entry..config/dotnet-tools.json: pins DocFX 2.81.0, which has anet11.0build, so it runs on the RC2 SDK without roll-forward.v11.0.0. There's also anAGENTS.mdstructure entry, a README sentence under the Documentation table, and aDocs:line under 11.0.0-preview.1### Added.There's nothing to cherry-pick. When 10.3.0 opens on
release/10.x, its section can take the sameDocs:line, because the 10.x pages go live with this PR.Tests
site/build.shbuilt both lines locally with 0 warnings and 0 errors:mainon the RC2 SDK, and arelease/10.xworktree on its own 10.0.x SDK./redirects to/10.x/README.html, the header shows the line, the navigation and the API pages render, andversions.htmllists both lines.docs/why.mdin the 10.x worktree fails the build with exit 255 (InvalidFileLink) and names the line. Reverted.dotnet test test/CodoMetis.ValueRanges.Conventions.Tests: 409 passed.main, so the first real deployment happens when this merges. Pages is already set to "GitHub Actions".🤖 Generated with Claude Code