I am writing some libraries in Google Apps Script and I am trying to document them. I have written some classes in the format below, and the comments of methods inside the class don't show up in the documentation :
/**
* My comments here
*/
function MyBeautifulObject(){
this.myMethod=myMethod;
....
/**
* This comment doesn't show up
*/
function myMethod(){
...
}
}
Any idea on how I could achieve this ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…