Changes
-
Multi-word tag values (such as
:param int y:
) are now permitted. This is used by Sphinx autodoc to include the argument type in a single line:def foo(x, y): """ :param int x: Argument with autodoc shorthand :param y: Argument with separate type tag :type y: int """
Both variants are correct and highlighted when using this extension.
Bug fixes
- Single character tag values (such as
:param x:
) are now recognized as tags