Skip to content

Commit bcfb384

Browse files
committed
added access option
Include only comments with a given access level, out of `private`, `protected`, `public` and `undefined`. By default, `public`, `protected` and `undefined` access levels are included.
1 parent 36a4eea commit bcfb384

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/documentation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = function(grunt) {
1818
format: 'html',
1919
shallow: false,
2020
github: false,
21+
access: ['public', 'protected', 'undefined'],
2122
order: []
2223
});
2324

@@ -29,6 +30,7 @@ module.exports = function(grunt) {
2930
var docOptions = {
3031
github: options.github,
3132
shallow: options.shallow,
33+
access: options.access,
3234
order: options.order
3335
};
3436

0 commit comments

Comments
 (0)