Skip to content

Commit

Permalink
docs: ignore protected and package members (#2436)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop authored and stephenplusplus committed Jul 5, 2017
1 parent 1bb7c83 commit 968948a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/docs/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ var templateFile = fs.readFileSync(
var parser = module.exports = {};

function isPublic(block) {
return !block.isPrivate && !block.ignore;
return !block.isPrivate && !block.ignore &&
!getTagsByType(block, 'protected').length &&
!getTagsByType(block, 'package').length;
}

function isMethod(block) {
Expand Down

0 comments on commit 968948a

Please sign in to comment.