Languages‎ > ‎Javascript‎ > ‎

How to generate HTML documentation of a Javascript API

webstorm has support


download API documentation generator for JavaScript from https://github.com/jsdoc3/jsdoc/archive/master.zip


Running JSDoc with Mozilla Rhino

On OS X, Linux, and other POSIX systems, to generate documentation for the file yourJavaScriptFile.js:

./jsdoc yourJavaScriptFile.js

Or on Windows:

jsdoc yourJavaScriptFile.js

Example:
D:\Downloads\software\jsdoc-master>jsdoc.cmd P:\Projects\MDSidebarWidgets\widgets_v315\factsheets\widgetjs\mdapi.js -d d:\Downloads\temp

Comments