Last Updated: February 25, 2016
·
2.788K
· dpashkevich

Compile JSDuck documentation from grunt

Grunt is a great general-purpose build tool widely used in JavaScript projects.

JSDuck is a documentation generator tool that you want in your JavaScript project. It's optimized to work for ExtJS/Sencha Touch projects but can be used outside of them.

Here's a grunt task that runs jsduck with stored parameters:
https://github.com/dpashkevich/grunt-jsduck

It's pretty straightforward but may save someone's time.
Install it in your project directory via npm install grunt-jsduck. See the repo for additional details.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside