Replies: 1 comment 4 replies
|
Have you tried to provide the name of the classes to exclude? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm generating documentation for classes that extend
torch.nn.Module, which has a ton of methods. I don't want to include the inherited methods in my documentation, just the ones I wrote myself.Here's how I define the options in conf.py.
Since I don't include
inherited-members, I don't expect them to be documented. And in fact the "On this page" sidebar only lists the methods in my subclass. But the main "Methods" section still lists all of them:If I add
"inherited-members": Truethen they appear in both places. But I don't want them to appear in either. How do I make that happen?I'm using Sphinx 9.1.0 and pydata-sphinx-theme 0.20.0.
All reactions