I'm trying to document my code using JSDOC3, that has a similar syntax to PHPDocumentator / Apigen. But is there a de-facto standard for Javascript inline documentation? I think Google Closure is the most complete (or so it seems), but what is widely adopted by IDEs and what most people expect to the docs to be?
Asked
Active
Viewed 612 times
7
-
I don't believe there is. Generally, I don't expect to see docblocks in JavaScript code. The only one I have seen used, though, is JSDoc. – Jonathan Rich May 02 '13 at 15:56
-
there really should be a proposal, like they did with PHPDoc, to try and standardize it. Google being 'big' is one step forward, but how many people would follow – pocesar May 02 '13 at 17:01
-
JSDuck works okay. Their docs are pretty poor, ironic, no? – May 02 '13 at 22:02