Generate docs from javascript source via AST parsing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

18 lines
421 B

doctype html
html
body
h1=filename
each comment in comments
h3=comment.name + '(' + comment.params.join(', ') + ')'
pre=comment.doc.comment
if comment.doc.params
h5 Params
ul
each param in comment.doc.params
li=param.name + ' [' + param.type + ']'
pre=param.comment
if comment.doc.returns
h5 Returns
ul
li='[' + comment.doc.returns.type + ']'
pre=comment.doc.returns.comment