chrieke · GitHub

Is your feature request related to a problem? Please describe.
My class A that I want to document is inheriting functions from a base class Base. However, for class A I only want to add a subset of the functions of Base to the docs. I can use inherited_members: true and then filter out the functions I don't want to use. But when doing this for multiple modules it becomes a bit messy and means I always have to check when adding new functionality in the code.

Describe the solution you'd like
I'd like inherited_members to work exactly like members. Instead of just bool, it can be bool, or list of str. This way I could define the specific inherited functions I want to include. The default could still be False.

::: classA
    selection:
      inherited_members:
        - inherited_method_a
        - inherited_method_b

Read the original on github.com ↗