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.
Asked
Active
Viewed 8,546 times
1 Answers
21
You can go recursive by passing -r parameter:
$ jsdoc -r .
![](../../users/profiles/3131833.webp)
Dmitry Demidovsky
- 4,439
- 3
- 19
- 22
-
1Recurse into subdirectories when scanning for source files and tutorials. [Source](http://usejsdoc.org/about-commandline.html) – Doug Wilhelm Jan 17 '18 at 21:36