I'm looking to extend jsdoc (particularly with docstrap). I have a nodeJS application and want to split the jsdoc navigation to Controllers, Views ,etc.
I've managed up to a certain extent with this by creating my custom tags such as @controller
and managed to get it to be capturaed by JsDoc similar to @module
so it generates the page (with description) . However my issue is when it comes to the functions associated with for example the controller which are located with a 'module.exports' function. The documentation generated basically ignores any other functions in that @controller file. How can i capture these function.
Below is an example of this:
/**
* @controller my_controller
*/
module.exports = {
/**
* @description my function
*/
myFn : function(){
}
}