Skip to content

Clarify how docs updates relate to the release-branch workflow #1437

Closed

Description

@planetf1

Follow-up from PR #1427 (review by @ajbozarth).

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 new version-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.

Activity

  1. ajbozarth commented on Jul 24, 2026

    @ajbozarth
    Member

    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.

  2. added
    documentation
    p2
    on Aug 10, 2026
  3. added
    needs-design
    on Oct 5, 2026
  4. added
    triage/needs-user-input
    on Nov 2, 2026
  5. ajbozarth commented on Nov 2, 2026

    @ajbozarth
    Member

    @planetf1 do we want to make a dev doc update to clarify this or can we close this as done?

  6. planetf1 commented on Nov 10, 2026

    @planetf1
    ContributorAuthor

    @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?

  7. ajbozarth commented on Nov 10, 2026

    @ajbozarth
    Member

    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

  8. self-assigned this
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationneeds-designp2triage/needs-user-input

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions