You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of my projects, I observed that the behavior for using decorators depends on whether the function that you use for decorating is contained in the same or another file.
I get the following output for the code provided below:
As you see, there is no entry for the class using the imported decorator, although both the classes and the decorators are identical (except their name). I would have expected that both classes will be documented in the same way.
We probably incorrectly detect the decorator usage. I'm sorry but I don't have time to investigate this so it will be stalled for a long time probably...
Describe the bug
Hello everyone :)
In one of my projects, I observed that the behavior for using decorators depends on whether the function that you use for decorating is contained in the same or another file.
I get the following output for the code provided below:
As you see, there is no entry for the class using the imported decorator, although both the classes and the decorators are identical (except their name). I would have expected that both classes will be documented in the same way.
How to Reproduce
conf.py:
index.rst:
test.py:
utils.py:
Environment Information
Sphinx extensions
["sphinx.ext.autodoc"]
Additional context
No response
The text was updated successfully, but these errors were encountered: