I believe gadget developers would benefit from having autogenerated code documentation. For example, using JSDoc as we currently have for various Wikimedia code repositories (MediaWiki core, extensions, libraries).
See also:
- http://lists.wikimedia.org/pipermail/wikitech-l/2013-January/065751.html
- http://lists.wikimedia.org/pipermail/wikitech-l/2013-July/070439.html
See Also: