For my project, I am utilizing angularJS along with doxygen.
Within my angular controller, I have defined some functions in the following manner:
function MyCtrl($scope) {
/**
* @param page String Page name
* @ingroup API
* @author Sylvain
*/
$scope.prev = function(page) {
...
}
... other functions
}
My goal is to have doxygen interpret this code as a function declaration.
I attempted to use the @fn
command, but found that doxygen combines all comments for angular functions within the documentation of the MyCtrl
function without creating separate function blocks.
Any suggestions on how to resolve this issue?
Thank you!