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 export only members in subclasses that differ from their parent's version #106

Open
JPLeBreton opened this issue May 26, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@JPLeBreton
Copy link

commented May 26, 2016

I have class A which has a lot of members, and class B which extends A and overrides/adds a single function or variable. I'd prefer the documentation for B to only show documentation for that one member, and not reproduce all the other members from A which are identical. In cases where class A has several trivial subclasses, documentation files contain massive amounts of completely redundant information. Is it possible to detect these cases?

@BurntSushi

This comment has been minimized.

Copy link
Contributor

commented May 27, 2016

@JPLeBreton You might be able to do this by modifying the template. See here for example: https://github.com/BurntSushi/pdoc/blob/master/pdoc/templates/html.mako#L177-L181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.