Skip to content

Commit 01685e8

Browse files
authored
Add pydantic-docs dev dependency (#3495)
1 parent 3b6dc5e commit 01685e8

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ markdown_extensions:
288288
- pymdownx.tasklist:
289289
custom_checkbox: true
290290
- sane_lists # this means you can start a list from any number
291+
- pydantic_docs.mdext
291292

292293
watch:
293294
- pydantic_ai_slim

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ pydantic-ai-slim = { workspace = true }
7575
pydantic-evals = { workspace = true }
7676
pydantic-graph = { workspace = true }
7777
pydantic-ai-examples = { workspace = true }
78+
pydantic-docs = { git = "https://github.com/pydantic/pydantic-docs" }
7879

7980
[tool.uv.workspace]
8081
members = [
@@ -118,10 +119,11 @@ docs = [
118119
"mkdocs>=1.6.1",
119120
"mkdocs-glightbox>=0.4.0",
120121
"mkdocs-llmstxt>=0.2.0",
121-
'mkdocs-redirects>=1.2.2',
122+
"mkdocs-redirects>=1.2.2",
122123
"mkdocs-material[imaging]>=9.5.45",
123124
"mkdocstrings-python>=1.12.2",
124125
"griffe-warnings-deprecated>=1.1.0",
126+
"pydantic-docs",
125127
]
126128
docs-upload = ["algoliasearch>=4.12.0", "pydantic>=2.10.1"]
127129

uv.lock

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