Skip to content

Commit 8f131eb

Browse files
authored
docs: add griffe_warnings_deprecated (#2444)
1 parent 622d3ac commit 8f131eb

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ plugins:
228228
group_by_category: false
229229
# 3 because docs are in pages with an H2 just above them
230230
heading_level: 3
231+
extensions:
232+
- griffe_warnings_deprecated:
233+
kind: warning
234+
title: Deprecated
231235
import:
232236
- url: https://logfire.pydantic.dev/docs/objects.inv
233237
- url: https://docs.python.org/3/objects.inv

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ docs = [
9292
"mkdocs-llmstxt>=0.2.0",
9393
"mkdocs-material[imaging]>=9.5.45",
9494
"mkdocstrings-python>=1.12.2",
95+
"griffe-warnings-deprecated>=1.1.0",
9596
]
9697
docs-upload = ["algoliasearch>=4.12.0", "pydantic>=2.10.1"]
9798

uv.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)