Skip to content

Commit 95e7ff9

Browse files
committed
[v1.x] docs: pin mkdocs<2
MkDocs 2.0 is a ground-up rewrite that drops the plugin system, so it is incompatible with mkdocs-material and the rest of the docs plugin stack. Mirror the bound from main (#3072) on the direct dependency so a future re-lock on this branch cannot resolve 2.0. The locked versions are unchanged; today the branch is protected only transitively by mkdocs-material 9.6.x's own mkdocs~=1.6 requirement.
1 parent 0e3a604 commit 95e7ff9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ dev = [
6969
"coverage[toml]==7.10.7",
7070
]
7171
docs = [
72-
"mkdocs>=1.6.1",
72+
# MkDocs 2.0 is a ground-up rewrite (no plugin system) that is incompatible
73+
# with mkdocs-material and every plugin below; stay on the 1.x line.
74+
"mkdocs>=1.6.1,<2",
7375
"mkdocs-glightbox>=0.4.0",
7476
"mkdocs-material[imaging]>=9.6.19",
7577
"mkdocstrings-python>=1.12.2",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)