Skip to content

Commit 3940dae

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 3940dae

File tree

5 files changed

+31
-68
lines changed

5 files changed

+31
-68
lines changed

Makefile

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -79,48 +79,31 @@ 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
82+
# `--no-strict` so you can build the docs without fixing all warnings
8383
.PHONY: docs
8484
docs: ## Build the documentation
8585
uv run mkdocs build --no-strict
8686

87-
# `--no-strict` so you can build the docs without insiders packages
87+
# `--no-strict` so you can build the docs without fixing all warnings
8888
.PHONY: docs-serve
8989
docs-serve: ## Build and serve the documentation
9090
uv run mkdocs serve --no-strict
9191

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
105-
92+
# Note: insiders packages are no longer needed - all features are now public
93+
# These targets are kept for backwards compatibility with CI
10694
.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
95+
docs-insiders: docs ## Build docs (insiders packages no longer needed)
10996

11097
.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
98+
docs-serve-insiders: docs-serve ## Serve docs (insiders packages no longer needed)
11399

114100
.PHONY: cf-pages-build
115101
cf-pages-build: ## Install uv, install dependencies and build the docs, used on CloudFlare Pages
116102
curl -LsSf https://astral.sh/uv/install.sh | sh
117103
uv python install 3.12
118104
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
122105
uv pip freeze
123-
uv run --no-sync mkdocs build -f mkdocs.insiders.yml
106+
uv run mkdocs build
124107

125108
.PHONY: all
126109
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)