Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 942 Bytes

examples.rst

File metadata and controls

33 lines (22 loc) · 942 Bytes

Examples

While the configuration documentation contains all available options in detail, this page shows them in cooperation to provide different examples on how to display pydantic models and settings.

Default configuration

This example shows the default out-of-the-box configuration of autodoc_pydantic. In contrast, it also shows how standard sphinx autodoc displays the same code.

autodoc pydantic

autodoc sphinx

example code

target.example_setting