Sphinxcontrib-napoleon

Latest version: v0.7

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.4

------------------------

* Adds support for Todo section header and Todo extension integration
* Changes __unicode__ to conditionally use "u" literal string for
Python 3.2 compatibility

0.3.11

---------------------------

* NumpyDoc section headers may be delimited by two or more underline characters
* Google style section headers must be followed by exactly one colon

0.3.10

---------------------------

* Undoes formatting changes in version 0.3.7
* Description ALWAYS starts on same line as type in output::

attr (type): description

renders as::

.. attribute:: attr

*type* -- description

whereas::

attr (type):
description

ALSO renders as::

.. attribute:: attr

*type* -- description

0.3.9

--------------------------

* Formatting in Raises section updated to match Args, Returns, Yields, etc...
* If a newline is present immediately after the colon in Raises section, then
the output will also have a line break, with no m-dash separator

0.3.8

--------------------------

* Fixes formatting in Raises section when type contains cross references

0.3.7

--------------------------

* Adds explicit type parsing for inline attribute and property docs.
* Attribute types are no longer rendered on a separate line if the source
docstring did not use a newline after the type::

attr (type): description

renders as::

.. attribute:: attr

*type* -- description

whereas::

attr (type):
description

renders as::

.. attribute:: attr

*type*

description

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.