Replies: 1 comment
-
Hello, now that we reached our $500/month funding goal, the griffe-inherited-docstrings extension is available to everyone, and I believe it does what you want 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often encounter the situation where I have an abstract class, where I specify abstract methods and properties, which are then implemented in child classes. For example something like:
If I hover the cursor over the child
foo()
methods - which are not documented -, VS code will automatically inherit the documentation fromParent.foo()
. I very much like this feature, as it avoids repeating documentation for the "same" method.Is it possible to apply the same principle with mkdocstrings, i.e. inherit the docstring from the nearest parent class?
Beta Was this translation helpful? Give feedback.
All reactions