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
When mocking an import with autodoc_mock_imports objects that derive from the mocked package have no docstring. See picture below where the foo.FOO constant is not documented.
Describe the bug
When mocking an import with
autodoc_mock_imports
objects that derive from the mocked package have no docstring. See picture below where the foo.FOO constant is not documented.How to Reproduce
foo.py
conf.py
run:
Expected behavior
The docstring of foo.FOO is displayed in the documentation
Your project
See How to reproduce
Screenshots
OS
Linux
Python version
3.8.5
Sphinx version
4.3.0
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: