Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to only generate autosummary stubs for parent class #9903

Open
ma-sadeghi opened this issue Nov 28, 2021 · 0 comments
Open

Option to only generate autosummary stubs for parent class #9903

ma-sadeghi opened this issue Nov 28, 2021 · 0 comments
Labels
extensions:autosummary type:enhancement enhance or introduce a new feature

Comments

@ma-sadeghi
Copy link

Is your feature request related to a problem? Please describe.
In projects with lots of nested class hierarchy, autosummary generates tons of "individual" "identical" stubs for inherited members, for instance: if we have A > B > C > D, and A has 10 methods that are inherited by the other 3 classes, autosummary generates 40 stubs, which adds to the build time.

Describe the solution you'd like
Option to only generate stubs for the parent class, and link the docs page for the inherited members to that stub.

@ma-sadeghi ma-sadeghi added the type:enhancement enhance or introduce a new feature label Nov 28, 2021
@AA-Turner AA-Turner added this to the some future version milestone Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensions:autosummary type:enhancement enhance or introduce a new feature
Projects
None yet
Development

No branches or pull requests

2 participants