You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify how docs updates relate to the release-branch workflow #1437
documentationImprovements or additions to documentationneeds-designProblem is clear; implementation approach needs design discussion before work startsp2Medium/low: minor bugs, niche features, polish, docs, tests, cleanup. Scoped, lower urgency.triage/needs-user-inputIssues which are waiting on a response from the reporter
That PR backported a doc fix into an already-published version snapshot (versioned_docs/version-0.7.0/) by editing it directly on main. The question raised: should a change like that also be ported to the release/vX.Y branch, to avoid drift if a patch release happens later?
Worth settling with a proper look at how the pipeline actually behaves, rather than deciding it inline on a docs PR:
RELEASE.md and publish-release.yml's snapshot-docs job suggest docs versioning is entirely main-driven: snapshot-docs always checks out main, and a patch release creates a newversion-X.Y.Z/ folder from main's current Next content — it doesn't re-touch an existing version folder.
docs-publish.yml only triggers off pushes to main (and the release published event), never off release/** branches.
If that's accurate, an existing versioned snapshot is a static artifact once created, and hand-editing it on main is a complete fix — there's no separate release-branch copy to drift from.
If there's a scenario I'm missing where the release branch does independently own docs content, we should document it. Either way, once resolved, add the outcome as a section in docs/CONTRIBUTING_DOCS.md.
In my initial issue on #1427 I had missed that we actually version the docs on patch, not minor, so editing the docs on main for mistakes is the correct process for publishing.
We should still port said doc fixes to the release branch though so if we cut another patch off that branch the next patches's docs catch the fix when it generiate the next snapshot, we just don't need to cut a release to catch it.
@ajbozarth I think you said you're in the process of revisiting the release pipeline to ensure it hangs together reliably given changes over the months since it was introduced. I presume this covers the doc pipeline.
I expect this issue could be closed out as part of that work, or being replaced by it?
Nice catch, yes #1802 does partially address this, I'll add a doc update to that PR to address the other half of this issue and then mark that PR to fix this issue
documentationImprovements or additions to documentationneeds-designProblem is clear; implementation approach needs design discussion before work startsp2Medium/low: minor bugs, niche features, polish, docs, tests, cleanup. Scoped, lower urgency.triage/needs-user-inputIssues which are waiting on a response from the reporter
Activity
ajbozarth commentedon Jul 24, 2026
In my initial issue on #1427 I had missed that we actually version the docs on patch, not minor, so editing the docs on main for mistakes is the correct process for publishing.
We should still port said doc fixes to the release branch though so if we cut another patch off that branch the next patches's docs catch the fix when it generiate the next snapshot, we just don't need to cut a release to catch it.
ajbozarth commentedon Nov 2, 2026
@planetf1 do we want to make a dev doc update to clarify this or can we close this as done?
planetf1 commentedon Nov 10, 2026
@ajbozarth I think you said you're in the process of revisiting the release pipeline to ensure it hangs together reliably given changes over the months since it was introduced. I presume this covers the doc pipeline.
I expect this issue could be closed out as part of that work, or being replaced by it?
ajbozarth commentedon Nov 10, 2026
Nice catch, yes #1802 does partially address this, I'll add a doc update to that PR to address the other half of this issue and then mark that PR to fix this issue