-
Notifications
You must be signed in to change notification settings - Fork 7
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
:members:
and :inherited-members:
implied for traits - a bit unexpected -> discussion of options for autoconfigurable
#27
Comments
:members:
and :inherited-members:
implied for traits - a bit unexpected
@minrk wrote in #28 (comment):
I agree, we should have a way to expose all traitlets members. In my mind, we should provide a new configuration option, such as |
I think
Do we also need to think about non-config trait members, or leave that to the regular autoclass behavior with members, etc.? It seems like the existing behavior on autoclass with the trait-documenter works for that? |
It remains the default, its not changed! I'm updating the docs example to clarify that right now! I'll reflect further later on other notes! |
SummaryPossible new features, as options to the
Existing functionality (after #28):
|
:members:
and :inherited-members:
implied for traits - a bit unexpected:members:
and :inherited-members:
implied for traits - a bit unexpected -> discussion of options for autoconfigurable
Great summary!
👍 I think folks don't usually want to exclude inherited config, which may be why nobody's asked for this. No pressure to implement it, but good to document that we can't do it now, and know what it should look like if we do. It may make sense to stop at a particular class, rather than a bool.
to be precise, all configurable traits, not all traits. I think there's still room for improving how we treat non-config trait members.
Why doesn't |
When a class' traits are documented with autodoc_traits, all of the traits are presented. That is quite unexpected in my mind, but also quite useful as it could often be that you want to present all configurable options while not presenting all functions etc.
Maybe we should keep doing this, just wanted to have an issue open about it for visibility for now.
The text was updated successfully, but these errors were encountered: