Skip to content

Commit fd53940

Browse files
dsfacciniclaude
andcommitted
chore: remove insiders packages, use public mkdocs-material 9.7.0
All mkdocs-material and mkdocstrings-python insiders features have been released to the public as of November 2025. - mkdocs-material v9.7.0: All insiders features now public - mkdocstrings-python v2.0.0: All insiders features now public Changes: - Remove mkdocs.insiders.yml (merge into mkdocs.yml) - Update mkdocs-material to >=9.7.0 (for material.extensions.preview) - Update Makefile docs-insiders to be a no-op (calls docs) - Simplify cf-pages-build to use public packages Sources: - https://squidfunk.github.io/mkdocs-material/blog/2025/11/11/insiders-now-free-for-everyone/ - https://mkdocstrings.github.io/python/changelog/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent ab27b3c commit fd53940

File tree

5 files changed

+31
-70
lines changed

5 files changed

+31
-70
lines changed

Makefile

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -79,48 +79,29 @@ update-examples: ## Update documentation examples
7979
update-vcr-tests: ## Update tests using VCR that hit LLM APIs; note you'll need to set API keys as appropriate
8080
uv run -m pytest --record-mode=rewrite tests
8181

82-
# `--no-strict` so you can build the docs without insiders packages
8382
.PHONY: docs
8483
docs: ## Build the documentation
85-
uv run mkdocs build --no-strict
84+
uv run mkdocs build
8685

87-
# `--no-strict` so you can build the docs without insiders packages
8886
.PHONY: docs-serve
8987
docs-serve: ## Build and serve the documentation
90-
uv run mkdocs serve --no-strict
91-
92-
.PHONY: .docs-insiders-install
93-
.docs-insiders-install: ## Install insiders packages for docs if necessary
94-
ifeq ($(shell uv pip show mkdocs-material | grep -q insiders && echo 'installed'), installed)
95-
@echo 'insiders packages already installed'
96-
else ifeq ($(PPPR_TOKEN),)
97-
@echo "Error: PPPR_TOKEN is not set, can't install insiders packages"
98-
@exit 1
99-
else
100-
@echo 'installing insiders packages...'
101-
@uv pip install --reinstall --no-deps \
102-
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
103-
mkdocs-material mkdocstrings-python
104-
endif
88+
uv run mkdocs serve
10589

90+
# Note: insiders packages are no longer needed - all features are now public
91+
# These targets are kept for backwards compatibility with CI
10692
.PHONY: docs-insiders
107-
docs-insiders: .docs-insiders-install ## Build the documentation using insiders packages
108-
uv run --no-sync mkdocs build -f mkdocs.insiders.yml
93+
docs-insiders: docs ## Build docs (insiders packages no longer needed)
10994

11095
.PHONY: docs-serve-insiders
111-
docs-serve-insiders: .docs-insiders-install ## Build and serve the documentation using insiders packages
112-
uv run --no-sync mkdocs serve -f mkdocs.insiders.yml
96+
docs-serve-insiders: docs-serve ## Serve docs (insiders packages no longer needed)
11397

11498
.PHONY: cf-pages-build
11599
cf-pages-build: ## Install uv, install dependencies and build the docs, used on CloudFlare Pages
116100
curl -LsSf https://astral.sh/uv/install.sh | sh
117101
uv python install 3.12
118102
uv sync --python 3.12 --frozen --group docs
119-
uv pip install --reinstall --no-deps \
120-
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
121-
mkdocs-material mkdocstrings-python
122103
uv pip freeze
123-
uv run --no-sync mkdocs build -f mkdocs.insiders.yml
104+
uv run mkdocs build
124105

125106
.PHONY: all
126107
all: format lint typecheck testcov ## Run code formatting, linting, static type checks, and tests with coverage report generation

mkdocs.insiders.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ markdown_extensions:
290290
- pymdownx.tasklist:
291291
custom_checkbox: true
292292
- sane_lists # this means you can start a list from any number
293+
- material.extensions.preview:
294+
targets:
295+
include:
296+
- '*'
293297
- pydantic_docs.mdext
294298

295299
watch:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ docs = [
120120
"mkdocs-glightbox>=0.4.0",
121121
"mkdocs-llmstxt>=0.2.0",
122122
"mkdocs-redirects>=1.2.2",
123-
"mkdocs-material[imaging]>=9.5.45",
123+
"mkdocs-material[imaging]>=9.7.0",
124124
"mkdocstrings-python>=2.0.0",
125125
"griffe-warnings-deprecated>=1.1.0",
126126
"pydantic-docs",

uv.lock

Lines changed: 19 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)