Archives Jan. 21, 2013

Easily generate documentation of your projects with JavaScript YUIDoc

YUIDoc is one of the best solutions to easily generate documentation for your projects JavaScript.

The syntax is nice and clear and allows easily documenting your JavaScript files.

Here is a small example to document a method of a JavaScript class (code taken from the YUIDoc website).

* My method description. Like other pieces of your comment blocks,
* this can span multiple lines.
* @method methodName
* @param {String} foo Argument 1
* @param {Object} config A config object
* @param {String} The name on the config object
* @param {Function} config.callback A callback function on the config object
* @param {Boolean} [extra=false ...

Continue reading

Previous day

Dec. 17, 2012

Next day

Feb. 12, 2013