Closed tantale closed 5 years ago
In the following example, the deprecated.sphinx.deprecated must update the docstring of the class:
deprecated.sphinx.deprecated
from deprecated.sphinx import deprecated @deprecated(reason="It is deprecated", version="1.2.3") class Foo: """ Description of Foo """
The expected docstring should be something like:
Description of Foo .. deprecated:: 1.2.3 It is deprecated
The actual docstring is:
Description of Foo
Fixed in v1.2.3
Expected Behavior
In the following example, the
deprecated.sphinx.deprecated
must update the docstring of the class:The expected docstring should be something like:
Actual Behavior
The actual docstring is:
Environment