Skip to content

docs: drop mike version provider for pre-1.0#35

Merged
chris-colinsky merged 2 commits into
mainfrom
chore/drop-mike-version-provider
May 13, 2026
Merged

docs: drop mike version provider for pre-1.0#35
chris-colinsky merged 2 commits into
mainfrom
chore/drop-mike-version-provider

Conversation

@chris-colinsky
Copy link
Copy Markdown
Member

@chris-colinsky chris-colinsky commented May 13, 2026

Summary

Removes the extra.version.provider: mike line (and its comment block) from mkdocs.yml. Material's theme was configured to look for a versions.json file that no CI step actually produces, so this just cleans up a setting that pointed nowhere.

Why

mike maintains multiple versioned snapshots of the docs under one domain, with a version dropdown for switching between them. Useful once an API contract stabilizes and users on different installed versions need to read the docs that match their install.

Pre-1.0, breaking changes are still expected — historical snapshots would just confuse readers (the API in v0.5 docs may not exist in v0.7). pydantic-ai's docs site (the polish reference we've been targeting) doesn't ship versioned docs either. Revisit when v1.0 ships and the API contract stabilizes.

Test plan

  • uv run mkdocs build --strict — clean.
  • CI Docs workflow on this PR builds the site with mkdocs build --strict.
  • After merge, the rendered footer no longer shows the (invisible) version dropdown placeholder; nothing else changes about the rendered site.

mike maintains multiple versioned snapshots of the docs under one
domain, with a version dropdown for switching between them. Useful
once an API contract stabilizes and users on different installed
versions need to read the docs that match their install.

Pre-1.0, breaking changes are still expected — historical snapshots
would just confuse readers (the API in v0.5 docs may not exist in
v0.7). pydantic-ai's docs site (the polish reference) doesn't ship
versioned docs either. Revisit when 1.0 ships and the API
contract stabilizes.

Removes ``extra.version.provider: mike`` from mkdocs.yml so Material's
theme stops trying to fetch a versions.json that no CI step
produces.
Copilot AI review requested due to automatic review settings May 13, 2026 00:04
Copy link
Copy Markdown

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

Removes the MkDocs Material versioning configuration (extra.version.provider: mike) that pointed to a non-existent version manifest, simplifying the docs configuration for the pre-1.0 phase.

Changes:

  • Removed the mike version provider block from mkdocs.yml under extra.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mkdocs.yml
mike was the only consumer of ``version.provider: mike`` in
mkdocs.yml, which the previous commit removed. Drop the
``mike>=2.1,<3`` line from pyproject.toml's docs group and
regen uv.lock so the docs install surface no longer pulls in
mike + its transitives (pyparsing, verspec).
@chris-colinsky chris-colinsky merged commit 97947df into main May 13, 2026
6 checks passed
@chris-colinsky chris-colinsky deleted the chore/drop-mike-version-provider branch May 13, 2026 00:14
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