Ringojs has built-in jsdoc support based on the Rhino parser. We
currently recognize a number of export patterns, including various
kinds of assignments to the exports object as well as ES5
Object.defineProperty() and friends.
There's a live app bundled with Ringo which we use for our own API
documentation:
Simon Oberhammer (oberhamsi on github) has been working on a number of
new features in his github branch, including a command line tool for
static rendering.
Other projects I'm aware of are Kris K's whatsupdoc
<http://github.com/kriskowal/whatsupdoc> and Michael Mathews' JSDoc 3
<http://github.com/micmath/JSDoc>.
Hannes
> -g.
>
> On Jul 22, 10:57 am, George Moschovitis
> <george.moschovi...@gmail.com> wrote:
>> I tried to use jsdoc-toolkit to extract documentation from jsdoc
>> comments in my commonJS packages.
>> jsdoc-toolkit seems to have problems with exports.* and other commonJS
>> convetions.
>>
>> is there an alternative to jsdoc-toolkit that works better with
>> commonJS code?
>>
>> thanks,
>> -g.
>
> --
> You received this message because you are subscribed to the Google Groups "CommonJS" group.
> To post to this group, send email to comm...@googlegroups.com.
> To unsubscribe from this group, send email to commonjs+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/commonjs?hl=en.
>
>
FYI the new jsdoc landed in ringo
One of the main "features" is completely decoupling docstrings from
the code. The downside is that you have to type a little more, but it
works *really* well for a lot of the CommonJS--related work I've done.
Check it out!
http://code.google.com/p/jazzdocs/
http://code.google.com/p/jazzdocs/wiki/Tutorial
> --
> You received this message because you are subscribed to the Google Groups "CommonJS" group.
> To post to this group, send email to comm...@googlegroups.com.
> To unsubscribe from this group, send email to commonjs+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/commonjs?hl=en.
>
>