-
Notifications
You must be signed in to change notification settings - Fork 1
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
Generate documentation files based on JSDoc comments #2
Comments
So I have looked at the the A quick glance at lodash revealed they use the |
The default JSDoc notation for a return value is |
I haven't yet discovered the documentation coverage statistics. |
Now I remember... devdocs.io has been open sourced a while back! This layout is so nice, their search works great, has offline support and it integrates with the documentation for the JavaScript APIs. So maybe we can generate whatever they need for their documentation format and use this. @Yolijn Good thing you learned CoffeeScript the other day, because that's what they used to develop this tool. |
I looked at two npm modules for extracting documentation from JSDoc documentation with Closure Compiler annotations:
|
I propose we try the Lodash approach and use their Docdown npm module to generate markdown from JSDoc. Their approach: https://github.com/lodash/lodash/blob/master/lib/main/build-doc.js We are then able to generate html (with Frameless even) from the generated markdown. The end result will probably still be as naive, but much easier to use, understand and mold to our desired output. |
I am considering using
documentation
for the purpose of generating documentation, because it uses thedoctrine
JSDoc parser which supports Google Closure Compiler Annotations.The text was updated successfully, but these errors were encountered: