Skip to content

Commit c966cfa

Browse files
authored
Pin mkdocs<2 (#3881)
1 parent 373910c commit c966cfa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ remote-tests = [
110110
docs = [
111111
# Doc building
112112
"mkdocs-material[imaging]>=9.6.14",
113-
"mkdocs>=1.6.1",
113+
"mkdocs>=1.6.1,<2",
114114
"mkdocstrings>=0.29.1",
115115
"mkdocstrings-python>=1.16.10",
116116
"mike>=2.1.3",
@@ -255,6 +255,10 @@ installer = "uv"
255255
features = ['remote']
256256
dependency-groups = ['docs']
257257

258+
[tool.hatch.envs.docs.env-vars]
259+
DISABLE_MKDOCS_2_WARNING = "true"
260+
NO_MKDOCS_2_WARNING = "true"
261+
258262
[tool.hatch.envs.docs.scripts]
259263
serve = "mkdocs serve --watch src"
260264
build = "mkdocs build"

0 commit comments

Comments
 (0)