How to run jsdoc on whole directory in ubuntu

10,016

You can go recursive by passing -r parameter:

$ jsdoc -r .
Share:
10,016
Admin
Author by

Admin

Updated on June 09, 2022

Comments

  • Admin
    Admin about 2 years

    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.

  • Doug Wilhelm
    Doug Wilhelm over 6 years
    Recurse into subdirectories when scanning for source files and tutorials. Source