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
How do I suppress documentation for inherited symbols from being displayed in the page for an interface? #813
Comments
Just wanted to point that these inherited docs get very noisy when using external libraries like |
Would like to know about this as well. |
If you use the default theme you can filter methods at the top of the page using the three checkboxes 'Inherited', 'External' and 'Only Exported', like this. |
Has anyone found an answer for this? It would be really helpful to be able to suppress the inherited members from a specified list of classes, for example, or things inherited from external libraries. When defining a custom element class, for example, you need to extend HTMLElement. If you have defined your own superclass based on HTMLElement and subclasses, you really want to see the inherited stuff from your own library, without the six pages of DOM APIs. |
Take a look at typedoc-plugin-no-inherit. |
@Gerrit0 Thanks! It turns out that plugin doesn't fix my problem, but it might point me in the direction of solving it for myself. |
Hey guys, while working on the plugin, I've found that the way Typedoc identifies inherited declarations might not be right.
If you generate docs for this class, then toggle the Inherited checkbox, the static Error declaration still exists, despite coming from the super class. This means the plugin also can't identify it as inherited. See jonchardy/typedoc-plugin-no-inherit#8. |
That does seem like a Typedoc bug, it looks like it's been reported before (or a related issue) and just hasn't been resolved yet. #572 |
Why can you make a plugin for typedoc to spot an inherited class for exclusion but can't provide a general option for typedoc to automatically exclude all inherited class (from the keyword It would be useful because sometimes in applications like react, polymer, ... devs are making web components extending framework helper classes that generate HTMLElement members in the output. |
…lutter and confusion Re TypeStrong/typedoc#813
This was closed as completed in April 2020 – does that mean there's an option in Typedoc to exclude inherited symbols now? I'm having trouble finding anything in this list that solves this: https://typedoc.org/options/ |
|
I have an interface IOrderedDataFrame that extends IDataFrame.
Typedoc by default seems to copy all the documentation from IDataFrame to IOrderedDataFrame which means that the two functions added by IOrderedDataFrame are lost in the noise.
I'd like to be able to disable the inheritance of documentation so it's clear the functions that IOrderedDataFrame adds to DataFrame. Is this possible?
Please see screenshot.
The text was updated successfully, but these errors were encountered: