New tag to categorize the methods in TOC
abozhilov opened this issue · comments
Most of the JavaScript libraries use single namespace where put all of the utility methods. Lodash is an example for that, Underscore etc.
For documentation would be great if there is an easy way to categorize the methods. For example if there is a JSDoc tag for that:
@category Array
_.map = function (){};
@category Function
_.bind = function (){};
Yap I dig it!
DocDown already supports this:
See https://github.com/bestiejs/lodash/blob/v0.10.0/lodash.js#L2207
Got it.
Should pass 'toc' => 'categories'.
Would be good if you have some time to add it to the documentation of the docdown.
Would be good if you have some time to add it to the documentation of the docdown.
Ah yap, will do.