Skip to content

Commit 989c41a

Browse files
committed
docs(conf): Add pydantic intersphinx mapping
why: Model classes inherit from pydantic.BaseModel but "Bases: BaseModel" wasn't linking to pydantic docs. what: - Add pydantic to intersphinx_mapping (https://docs.pydantic.dev/latest/) - "Bases: BaseModel" on all model pages now links to pydantic API docs
1 parent 6836975 commit 989c41a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
"python": ("https://docs.python.org/", None),
203203
"pytest": ("https://docs.pytest.org/en/stable/", None),
204204
"libtmux": ("https://libtmux.git-pull.com/", None),
205+
"pydantic": ("https://docs.pydantic.dev/latest/", None),
205206
}
206207

207208

0 commit comments

Comments
 (0)