beanbag_docutils.sphinx.ext.django_utils¶
Sphinx extension to add useful Django-related functionality.
This adds some improvements when working with Django-based classes in autodocs, and when referencing Django documentation.
Localized strings using ugettext_lazy()
will
be turned into actual strings for the documentation, which is useful for forms
and models.
Roles are also added for common cross-references.
Setup¶
To use this, you just need to add the extension in conf.py
:
extensions = [
...
'beanbag_docutils.sphinx.ext.django_utils',
...
]