linkedin/Lu — pull request #280 by Jimgskoop (2012-11-17 00:35:21+00:00)
Title: Getting YUIDoc working and generating API documentation

Added YUIDoc NPM requirements to package.json.
Set up yuidoc generation task in grunt.
Fixed a lot of the documentation blocks within the code to work as best as possible within YUIDoc -- YUIDoc has no concept of decorators, for example, so I used the @uses keyword to indicate the decoration relationship. I also had to rename the decoration code in scripts/decorators/state.js to "genericStateDecorator" because it was conflicting with "stateDecorator" from scripts/components/button/decorators/state.js.

To generate the documentation, do "npm install" and then execute "grunt yuidoc". Output is in docs/yuidoc.