summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/classes.py
Commit message (Collapse)AuthorAgeFilesLines
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Fix #9866: autodoc: doccoment for the imported class was ignoredTakeshi KOMIYA2021-11-211-0/+3
| | | | | | | Autodoc tried to scan doccomment on the module where the class defined. But it failed to get it if the class is imported from other module. This analyzes the target module to obtain the doccomment.
* Fix #9607: autodoc: Incorrect base class detectionTakeshi KOMIYA2021-09-201-0/+4
| | | | | | | | | In case of the descendants of generic class, the value of obj.__orig_bases__ is incorrect because it returns original base arguments for the child of the generic class instead of the target class itself. This uses obj.__dict__ to get the correct __orig_bases__ information.
* Close #8061, #9218: autodoc: Support variable comment for alias classesTakeshi KOMIYA2021-05-151-0/+3
|
* refactor: Deprecate `no_docstring` argument for Documenter.add_content()Takeshi KOMIYA2020-12-261-0/+3
| | | | | | | | | | | | Deprecate `no_docstring` argument for `Documenter.add_content()` again. At the first trial (#8533), it changes the behavior of `autodoc-process-docstring` event; it is emitted unexpectedly for an alias of class. But it brings an incompatible change to extensions. Hence it was partially reverted at #8581. This keeps not calling the event for an alias of class. To do that, now `Documenter.get_doc()` can return None value.
* Fix #8219: autodoc: Parameters for generic base class are not shownTakeshi KOMIYA2020-11-091-0/+6
|
* Fix #7613: autodoc: autodoc does not respect __signature__ of the classTakeshi KOMIYA2020-11-011-0/+11
|
* refactor: autodoc: class processors on autofunction is no longer neededTakeshi KOMIYA2020-05-071-0/+12