Forgive me if this is a daft question but I\'m utterly baffled as to how I can use JSDoc on Windows. I\'m aware of JSDoc-Toolkit but it\'s a bit out of date and the google code
I'm not saying this is necessarily the best way, but it worked for me:
Install node.js
Open a command prompt
As a test, create a folder in your root drive (c:\test
) and go to it (cd\test
). I guess there was some sort of permission issue as I couldn't get the following steps to work in my desktop folder.
Install the JSDoc package: npm install jsdoc
There should be a folder in test
called node_modules
Go to the .bin
subfolder in node_modules
There should be a file called jsdoc.cmd
. Simple use jsdoc myfile.js
in the command prompt to execute the JSDoc script on your file