Skip to content

Commit 0fe16dd

Browse files
fix: silence mkdocs social plugin warnings in strict mode (#2109)
1 parent cb07ade commit 0fe16dd

File tree

4 files changed

+87
-7
lines changed

4 files changed

+87
-7
lines changed

.github/workflows/publish-docs-manually.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ jobs:
3131
3232
- run: uv sync --frozen --group docs
3333
- run: uv run --frozen --no-sync mkdocs gh-deploy --force
34+
env:
35+
ENABLE_SOCIAL_CARDS: "true"

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ watch:
112112

113113
plugins:
114114
- search
115-
- social
115+
- social:
116+
enabled: !ENV [ENABLE_SOCIAL_CARDS, false]
116117
- glightbox
117118
- mkdocstrings:
118119
handlers:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ dev = [
7575
docs = [
7676
"mkdocs>=1.6.1",
7777
"mkdocs-glightbox>=0.4.0",
78-
"mkdocs-material>=9.5.45",
78+
"mkdocs-material[imaging]>=9.5.45",
7979
"mkdocstrings-python>=2.0.1",
8080
]
8181

uv.lock

Lines changed: 82 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)