scverse_doc.typed_fields#
Parameters and attributes as definition lists.
Sphinx renders typed fields (:param: with :type:, :var: with :vartype:, …)
as a list of paragraphs, cramming name, type, and description into one line.
This extension renders them as definition lists instead, like numpydoc:
each name a term classified by its type, with the description indented below it.
Examples
.. py:function:: greet(name)
:no-index:
:param name: Who to greet
:type name: str
- scverse_doc.typed_fields.greet(name)
- Parameters:
- name str
Who to greet