سؤال

In my JS library I've noticed that none of the files starting with an underscore are appearing in my output from JSDoc3. These are marked using @module and I've tried adding @public and also building with the -p switch but I can't seem to get them appearing. Any ideas how to solve this?

هل كانت مفيدة؟

المحلول

I've discovered that if you run JSDoc using a configuration file (http://usejsdoc.org/about-configuring-jsdoc.html#configuration-file-command-line) you can update the excludePattern which by default includes files starting with the underscore pattern.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top