JSDoc
An API documentation generator for JavaScript
...It is assumed that you will want to document things like modules, namespaces, classes, methods, method parameters, and so on. JSDoc comments should generally be placed immediately before the code being documented. Each comment must start with a /** sequence in order to be recognized by the JSDoc parser. Adding a description is simple, just type the description you want in the documentation comment. Once your code is commented, you can use the JSDoc 3 tool to generate an HTML website from your source files.