senchalabs / jsduck

Simple JavaScript Duckumentation generator.
http://docs.sencha.com/
GNU General Public License v3.0
1.5k stars 238 forks source link

"Required by" view #635

Open dariooddenino opened 8 years ago

dariooddenino commented 8 years ago

Hi, is it possible with the current interface to have a "required by" list for a class?

Thanks

nene commented 8 years ago

Currently not implemented. But that's certainly possible (and fairly easy) to implement. I'm wondering whether it would add too much noise in case of classes that are heavily required by others, but probably not - we show a similar mixed-into and subclasses data which looks fine for some really heavily used stuff like Observable.

I'll consider it as a feature request.

But if you really desire that I suggest you look into implementing it by yourself. Take a look into JsDuck::Relations class that gathers all this data.

dariooddenino commented 8 years ago

Thanks for the answer, I just wanted to be sure the feature wasn't already in before spending time trying to implement it myself :+1: