Skip to content

Spike: versioned docs for Stacklok Enterprise#714

Draft
danbarr wants to merge 2 commits intomainfrom
spike/docs-versioning-test
Draft

Spike: versioned docs for Stacklok Enterprise#714
danbarr wants to merge 2 commits intomainfrom
spike/docs-versioning-test

Conversation

@danbarr
Copy link
Copy Markdown
Collaborator

@danbarr danbarr commented Apr 14, 2026

Description

Spike to validate the Docusaurus versioning approach proposed for Stacklok Enterprise documentation. This is a preview for discussion - not intended to merge as-is.

The proposals in this branch describe a versioning strategy where Enterprise customers get pinned, version-accurate docs while OSS docs remain on a rolling latest. See:

  • Versioning strategy proposal - overall strategy, Docusaurus config, enterprise inline content, release cadence tradeoffs
  • Version cut process - step-by-step process for cutting a version snapshot when an Enterprise release ships, with happy path and rollback fallback

What to look at

Browse all three versions using the version dropdown in the top-right navbar in the Vercel preview:

  • Latest (OSS) - current HEAD (toolhive v0.19.0), served at /toolhive/...
  • Enterprise 1.1 - snapshot from toolhive v0.15.0 (commit 78891a7), served at /enterprise/1.1/toolhive/...
  • Enterprise 1.0 - snapshot from toolhive v0.12.5 (commit de73f8a), served at /enterprise/1.0/toolhive/...

Things to note when clicking around:

  • The version dropdown shows all three versions and switches between them
  • Each version reflects real historical content, so you can see actual differences (pages that didn't exist yet, sidebar changes, content that evolved)
  • "Version: Enterprise 1.1" badge appears on versioned pages
  • Sidebar links within a version stay scoped to that version's URL prefix
  • OSS latest is completely unaffected - same URLs, same behavior

Key decisions validated in this spike

  • lastVersion: 'current' keeps OSS docs at root path, unchanged
  • path: 'enterprise/<version>' gives Enterprise versions a clean URL prefix
  • banner: 'none' suppresses the default "old version" warning
  • noIndex: true prevents SEO dilution from versioned pages
  • Version config must be added after docs:version runs (Docusaurus validates against versions.json at startup)
  • docsVersionDropdown navbar item provides the version picker

Type of change

  • New documentation

Related issues/PRs

None - spike for internal discussion.

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style (spike only)

danbarr and others added 2 commits April 14, 2026 12:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enterprise v1.0 from toolhive v0.12.5 (de73f8a), Enterprise v1.1
from toolhive v0.15.0 (78891a7), OSS latest at current HEAD.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 14, 2026 16:57
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Apr 14, 2026 4:58pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Spike to validate a Docusaurus docs-versioning approach that keeps OSS docs on the rolling “current” version while serving pinned Enterprise snapshots under /enterprise/<version>/....

Changes:

  • Adds Docusaurus versions configuration (Enterprise 1.0/1.1) and a navbar version dropdown.
  • Introduces a large set of versioned_docs/version-1.0/... pages to represent an Enterprise snapshot.
  • Updates ESLint config to lint MDX partials under versioned_docs/ as well as docs/.

Reviewed changes

Copilot reviewed 67 out of 441 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
versioned_docs/version-1.0/toolhive/guides-mcp/k8s.mdx Adds versioned Kubernetes MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/grafana.mdx Adds versioned Grafana MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/github.mdx Adds versioned GitHub MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/filesystem.mdx Adds versioned Filesystem MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/fetch.mdx Adds versioned Fetch MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/context7.mdx Adds versioned Context7 MCP server guide content for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-mcp/_template.mdx Adds an MCP guide template into the versioned docs tree.
versioned_docs/version-1.0/toolhive/guides-k8s/token-exchange-k8s.mdx Adds versioned Kubernetes token exchange guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-k8s/telemetry-and-metrics.mdx Adds versioned Kubernetes telemetry/metrics guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-k8s/rate-limiting.mdx Adds versioned Kubernetes rate limiting guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-k8s/intro.mdx Adds versioned Kubernetes guides overview page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-k8s/index.mdx Adds versioned Kubernetes guides index card list for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-k8s/customize-tools.mdx Adds versioned Kubernetes tool customization guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/token-exchange.mdx Adds versioned CLI token exchange guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/thvignore.mdx Adds versioned .thvignore guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/test-mcp-servers.mdx Adds versioned “test MCP servers” guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/secrets-management.mdx Adds versioned secrets management guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/quickstart.mdx Adds versioned CLI quickstart guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/network-isolation.mdx Adds versioned network isolation guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/manage-mcp-servers.mdx Adds versioned server management guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/index.mdx Adds versioned CLI guides index card list for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/group-management.mdx Adds versioned group management guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/filesystem-access.mdx Adds versioned filesystem access guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/custom-permissions.mdx Adds versioned custom permissions guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/client-configuration.mdx Adds versioned client configuration guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/auth.mdx Adds versioned CLI auth guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/api-server.mdx Adds versioned CLI API server guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/guides-cli/advanced-cicd.mdx Adds versioned CI/CD patterns guide for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/faq.mdx Adds versioned FAQ for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/enterprise.mdx Adds versioned Enterprise marketing/CTA page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/contributing.mdx Adds versioned contributing overview for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/vmcp.mdx Adds versioned vMCP concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/tool-optimization.mdx Adds versioned tool optimization concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/skills.mdx Adds versioned skills concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/registry-criteria.mdx Adds versioned registry criteria concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/mcp-primer.mdx Adds versioned MCP primer concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/groups.mdx Adds versioned groups concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/concepts/embedded-auth-server.mdx Adds versioned embedded auth server concept page for Enterprise v1.0 snapshot.
versioned_docs/version-1.0/toolhive/_partials/_remote-mcp-auth-examples.mdx Adds versioned remote MCP auth examples partial.
versioned_docs/version-1.0/toolhive/_partials/_oidc-prerequisites.mdx Adds versioned OIDC prerequisites partial.
versioned_docs/version-1.0/toolhive/_partials/_client-config-intro.mdx Adds versioned client config intro partial.
versioned_docs/version-1.0/toolhive/_partials/_basic-cedar-config.mdx Adds versioned basic Cedar config partial.
versioned_docs/version-1.0/toolhive/_partials/_auth-troubleshooting.mdx Adds versioned auth troubleshooting partial.
versioned_docs/version-1.0/theme-preview.mdx Adds a theme preview page into the versioned docs tree.
proposals/docs-versioning-strategy.md Adds the written proposal explaining the versioning strategy.
eslint.config.mjs Extends MDX partial linting rules to versioned_docs/**/_partials/*.mdx.
docusaurus.config.ts Adds Docusaurus docs version configuration and a docs version dropdown in the navbar.

@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
@stacklok stacklok deleted a comment from Copilot AI Apr 14, 2026
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