Hi all, I have just started with the yui documentation tool. It seems like an awesome tool so far.
My question concerns the use of the @static descriptor in methods. I have a singleton class with a getInstance static method. I have added comments the following way:
/**
*
* @method getInstance
* @static
*/
ClassName.getInstance=function(){
return ClassName.instance||ClassName();
}
When I view my documentation in the browser, it shows as a method but does not mention that it is static:
Is this correct or is there a way to make it obvious that this is a static method?
Thanks