milesj / docusaurus-plugin-typedoc-api

Docusaurus plugin that provides source code API documentation powered by TypeDoc.
69 stars 25 forks source link

[Question] Is there a way to show and hide `inheritedFrom` members using a toggle? #150

Open rash805115 opened 1 month ago

rash805115 commented 1 month ago

My classes usually extend from base classes, and there are a lot of inherited members that is shown on the page which my users don't always need to see. Sometimes they just want to see the methods directly exposed by my class.

If there was a toggle on top of the page, Hide Inherited Members, then they can just check that, and all methods having property inheritedFrom would be hidden. Uncheck, and the opposite would happen.

Is this a feature that should be supported in this library?

rash805115 commented 1 month ago

@milesj I created this PR https://github.com/milesj/docusaurus-plugin-typedoc-api/pull/151 if you like the proposal.