jsdoc3 - How to use jsdoc options in jsdoc-grunt task -
i want add -p
flag in order generate documentation private methods using grunt-jsdoc
. how can that?
according documentation @ grunt-jsdoc state can use of options specified in usejsdoccli, not know how should specified in grunt task. here current grunt task:
jsdoc : { dist : { src: ['app/scripts/directives/*.js','readme.md'], options: { destination: 'doc' } } }
how can specify want task run -p
flag (or other flags)?
there's example in documentation under template section https://github.com/krampstudio/grunt-jsdoc#templates
just use flag name without dash, example:
dist : { src: ['app/scripts/directives/*.js','readme.md'], options: { destination: 'doc', private: true } } }
Comments
Post a Comment