Skip to content
You're viewing docs for v2.11. See the latest version →

Documentation

Pydantic uses MkDocs for documentation, together with mkdocstrings. As such, you can make use of Pydantic’s Sphinx object inventory to cross-reference the Pydantic API documentation.

In your Sphinx configuration, add the following to the intersphinx extension configuration:

intersphinx_mapping = {
  'pydantic': ('https://docs.pydantic.dev/latest', None),  # (1)
}

You can also use dev instead of latest to target the latest documentation build, up to date with the main branch.