Skip to content

Commit 4449973

Browse files
committed
Update dependencies and handle recent Material for Mkdocs changes
1 parent 4d9f02d commit 4449973

File tree

5 files changed

+300
-257
lines changed

5 files changed

+300
-257
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
contents: read
77

88
env:
9-
UV_VERSION: "0.10.0"
9+
UV_VERSION: "0.10.6"
1010

1111
jobs:
1212
test:

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [main]
99

1010
env:
11-
UV_VERSION: "0.10.0"
11+
UV_VERSION: "0.10.6"
1212

1313
jobs:
1414
deploy:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
FROM python:3.13-slim-trixie AS python_builder
1212

1313
# Pin uv to a specific version to make container builds reproducible.
14-
ENV UV_VERSION=0.10.0
14+
ENV UV_VERSION=0.10.6
1515
ENV UV_PYTHON_DOWNLOADS=never
1616

1717
# Set ENV variables that make Python more friendly to running inside a container.

noxfile.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ def type_check(s: Session) -> None:
7575

7676

7777
# Environment variable needed for mkdocstrings-python to locate source files.
78-
doc_env = {"PYTHONPATH": "src"}
78+
doc_env = {
79+
"PYTHONPATH": "src",
80+
# Silence warning about unreleased MkDocs 2:
81+
# https://github.com/squidfunk/mkdocs-material/pull/8564
82+
"NO_MKDOCS_2_WARNING": str(1),
83+
}
7984

8085

8186
@session(venv_backend="none")
@@ -95,7 +100,9 @@ def docs_offline(s: Session) -> None:
95100

96101
@session(venv_backend="none")
97102
def docs_serve(s: Session) -> None:
98-
s.run("mkdocs", "serve", env=doc_env)
103+
# TODO: Remove --livereload when Click bug is fixed upstream:
104+
# https://github.com/squidfunk/mkdocs-material/issues/8478
105+
s.run("mkdocs", "serve", "--livereload", env=doc_env)
99106

100107

101108
@session(venv_backend="none")

0 commit comments

Comments
 (0)