Releases: leonhard-s/python-sphinx-highlighter
Releases · leonhard-s/python-sphinx-highlighter
Version 0.3.0
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
Version 0.2.0
Version 0.1.1
Version 0.1.0
Initial version.
Some reStructuredText tags have been ignored due to the parsing complexity for unknown-indentation docstrings (e.g. code blocks or multiline literal block).