Seamlessly integrate pydantic models in your Sphinx documentation.
You love pydantic ❤ and you want to
document your models and configuration settings with sphinx?
Perfect, let’s go. But wait, sphinx’ autodoc
does not integrate too well with pydantic models 😕.
Don’t worry - just pip install autodoc_pydantic ☺.
pydantic >= 1.5.0 and sphinx >= 4.0.0For more details, please visit the official documentation:
To see those features in action, jump over to the example documentation to compare
the appearance of standard sphinx autodoc with autodoc_pydantic.
Thanks to great open source projects sphinx,
pydantic and
poetry (and so many more) ❤ in addition to the following contributors:
This project follows the all-contributors specification. Contributions of any kind welcome!