Skip to content

Version the documentation section alongside the specification - #2990

Merged
mcp-commander[bot] merged 4 commits into
docs/2026-07-28-releasefrom
localden/versioned-docs
Jul 10, 2026
Merged

Version the documentation section alongside the specification#2990
mcp-commander[bot] merged 4 commits into
docs/2026-07-28-releasefrom
localden/versioned-docs

Conversation

@localden

@localden localden commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Adds the same Mintlify version picker to the Documentation tab that the Specification tab already has. The two tabs use identical version entries (released dated versions plus Draft), so the picker is unified from day one.

  • In-progress docs live in docs/docs/draft/ (git renames from docs/docs/), mirroring docs/specification/draft/. Identical snapshots of today's docs sit under the four released versions; no content backfill, per plan.
  • Internal links inside each versioned tree stay within that version. Old unversioned /docs/... URLs and a new /docs/latest alias (mirroring /specification/latest) redirect to the latest released version, 2025-11-25.
  • spec-version-warning.js generalized into version-warning.js: older docs versions get the "older version" banner, draft docs get a draft notice, both resolved through the latest redirects so no updates are needed per release.
  • cut-release.yml now promotes docs/docs/draft/ alongside the spec draft at final cut: copies it to docs/docs/<version>, rewrites internal links, patches the Documentation tab nav, and retargets the latest-alias and legacy redirects (including /specification/latest, which the workflow previously never retargeted). It also now inserts the promoted version first in the picker instead of after the older versions.
  • CODEOWNERS and AGENTS.md updated for the new layout.

npm run prep is clean, including mint broken-links across the redirects. The cut-release nav patch was dry-run locally against the new docs.json: it produces unified pickers with 2026-07-28 (latest) first on both tabs and correctly retargeted redirects.

@localden
localden requested review from a team as code owners June 30, 2026 01:38
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 30, 2026

@a-akimov a-akimov 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.

I have reviewed it, was not able to find any problems. Overall, very exicted to see that we are introducing versioning for docs as well as they should reflect what's in a corresponding specificaiton version.

Happy to approve it; but would be great if @olaservo and @cliffhall could look at this as well.

@cliffhall

Copy link
Copy Markdown
Member

@claude review

@a-akimov

a-akimov commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@localden would it be possible for you to merge these changes soon? This would greatly help us start updating the docs & tutorials for the new spec version.

localden and others added 4 commits July 10, 2026 05:03
The Documentation tab now uses the same Mintlify version picker as the
Specification tab. The current guides move to docs/docs/2026-07-28/ as
the canonical, in-progress version, and identical snapshots are stored
under 2025-11-25, 2025-06-18, 2025-03-26, and 2024-11-05 so every
released spec version has matching docs. No content backfill: the
snapshots are a copy of today's docs.

Internal links inside each versioned tree point within that version.
Old unversioned /docs/ URLs redirect to the 2026-07-28 pages, and a
/docs/latest alias mirrors /specification/latest so links and the
warning banner survive future version bumps. The spec version warning
script is generalized to also show a banner on older docs versions.

Version labels are chosen so the picker entries unify with the
Specification tab when cut-release.yml promotes the draft spec to
2026-07-28 on this branch.

:house: Remote-Dev: homespace
Replace the docs/docs/2026-07-28 directory with docs/docs/draft so the
Documentation tab mirrors the Specification tab exactly: dated released
versions plus a Draft entry. Both tabs now share identical version
labels, so the picker unifies immediately instead of after the cut.

Unversioned /docs/... URLs and /docs/latest now point at the latest
released version (2025-11-25), matching the spec's redirect semantics.

cut-release.yml promotes docs/docs/draft alongside the spec draft:
copies it to docs/docs/<version>, rewrites internal links, patches the
Documentation tab nav, retargets the latest-alias and legacy redirects
(including /specification/latest, which was never retargeted), and adds
dated siblings for draft-source redirects. Also fixes the promoted
version being inserted after older versions instead of first.

:house: Remote-Dev: homespace
…base

During the rebase onto docs/2026-07-28-release, git's rename detection
paired the old docs/docs/* paths only with the 2025-06-18 snapshot, so
docs edits that landed on the base branch (Rust client tutorial, Claude
Desktop connector UI text, requestedSchema fix, Kotlin SDK tier, auth
sample link, OAuth URL validation guidance) were merged into that copy
alone. Copy the merged 2025-06-18 files over draft, 2025-11-25,
2025-03-26, and 2024-11-05 with internal links rewritten to each
version's prefix, keeping all snapshots identical per the PR's intent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N5Z3TGJTN8cH6goHhdekqc
@claude
claude Bot force-pushed the localden/versioned-docs branch from fbfacad to 992e926 Compare July 10, 2026 05:16
@localden

Copy link
Copy Markdown
Contributor Author

/lgtm force

@mcp-commander mcp-commander Bot added the accepted SEP accepted by core maintainers, but still requires final wording and reference implementation. label Jul 10, 2026

@mcp-commander mcp-commander Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved on behalf of @localden via /lgtm force.

@mcp-commander
mcp-commander Bot enabled auto-merge (squash) July 10, 2026 06:04
@mcp-commander
mcp-commander Bot merged commit 3e0df99 into docs/2026-07-28-release Jul 10, 2026
11 checks passed
@mcp-commander
mcp-commander Bot deleted the localden/versioned-docs branch July 10, 2026 06:05
@claude claude Bot mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted SEP accepted by core maintainers, but still requires final wording and reference implementation. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants