New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation generator for users #152
Comments
Just discussed this with @paulirish. Looks like we might explore using Grunt + jsDoc. |
jsDoc is good, but it requires Java and Rhino... jsDuck also looks good. It uses Esprima (which is awesome) and has a Ruby dependency. There is a jsDoc Node.js port on NPM, but it's not actively maintained... If we want a Node.js based doc generator, which we should, there are:
I think we should use Dox. It is popular. Created by the awesome TJ Holowaychuk. And it let's users decide how to show their documentation. It also supports jsDoc tags. What do you think? |
Thanks for the comprehensive research, Sindre :) I think Dox looks hot. If we do go for a doc generator, I'd be happy for us to use it. |
The downside to Dox, if I recall, is that it just generates a blob of JSON. It's up to the user to write their own view which consumes that JSON. Maybe you guys know of a good tool to use for displaying it all? |
@robdodson Lot's of Dox generators out there. Maybe this one: https://github.com/cbou/markdox We'll do a thorough research before deciding on anything. Let us know if you have any suggestions ;) |
Oh nice! I was looking for something like this a while back. Very cool :D |
I would vote for Docco + something like jsDoc or jsDuck . I think Docco is a nice way to view and learn to understand someones code. But it's not a nice way to surf through the API, then jsDoc/jsDuck is a better solution. |
Same as @eonlepapillon : Docco is really great for code walkthrough ... For API documentation, jsDuck or Dox (the dependency on Ruby for jsDuck is not that ennoying I guess, if we consider that |
I will vote for jsDuck, I have used it for many projects very generates nice interactive docs. |
closing this but we documented this for users at https://github.com/yeoman/yeoman/wiki/Additional-FAQ |
check out https://github.com/kengz/dokker |
A potential user today asked if Yeoman plans on supporting a documentation generator such as Docco.
I'm not sure whether or not this is a little too much to try squeezing in for the first version, but I found the below and thought we could at least discuss whether we want to give people a docs generator of some sort.
https://github.com/DavidSouther/grunt-docco
The text was updated successfully, but these errors were encountered: