You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I would like to expose a class from _my_module.py. Then I would do this via exposing the class into _my_subpackage.__init__.py and then into my_package.__init__.py. So I can then use it like this: my_package.MyClass.
So what I want is to just generate api for the top level part where everything is supposed to be public. Therefore I don't use the private-members configuration.
This works in a sense that MyClass can be seen under autoapi/index.html. However I'm missing the very neat [source] button that redirects me to the source where MyClass is implemented, because obviously the file where it's implement is private and therefore nothing get's generated in the build/html/modules/ directory for it.
Is there a workaround for this by chance? 😆 (I know that this is a very specific kind of case)
The text was updated successfully, but these errors were encountered:
Sometimes when I don't want to expose everything in a module, subpackage or whatever I go the following way:
Let's say I would like to expose a class from
_my_module.py
. Then I would do this via exposing the class into_my_subpackage.__init__.py
and then intomy_package.__init__.py
. So I can then use it like this:my_package.MyClass
.So what I want is to just generate api for the top level part where everything is supposed to be public. Therefore I don't use the
private-members
configuration.This works in a sense that
MyClass
can be seen underautoapi/index.html
. However I'm missing the very neat [source] button that redirects me to the source whereMyClass
is implemented, because obviously the file where it's implement is private and therefore nothing get's generated in thebuild/html/modules/
directory for it.Is there a workaround for this by chance? 😆 (I know that this is a very specific kind of case)
The text was updated successfully, but these errors were encountered: