Skip to main content

docstring_sections()

The rendered docstring sections, omitting empty ones

Usage

Source

docstring_sections()

Text and deprecation sections render as divs. Other sections get a heading one level below the object. Standard titles are translated into the reference’s language; custom titles keep their own text.