How to run jsdoc on whole directory in ubuntu

SQA picture SQA · Nov 1, 2016 · Viewed 8.7k times · Source

I just need to run jsdoc on ai whole directory containing .js files, I am doing this on individual files in ubuntu terminal by issuing command jsdoc abc.js but what I need is to apply this command on all files in the directory at once,so that all files in that directory containg js files would be generated by a single command. Thanks for any help you would give.

Answer

Dmitry Demidovsky picture Dmitry Demidovsky · Nov 9, 2016

You can go recursive by passing -r parameter:

$ jsdoc -r .