Skip to content

Commit

Permalink
chore(docs): hide internal docs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Aug 3, 2016
1 parent b7c4548 commit 69169c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/docs/processors/remove-private-members.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module.exports = function removePrivateMembers() {
docs.forEach(function(doc) {
if (doc.members) {
doc.members = doc.members.filter(function(member) {
return !member.tags.tagsByName.get('private');
return !member.tags.tagsByName.get('private') && !member.tags.tagsByName.get('internal');
});
}
if (doc.statics) {
doc.statics = doc.statics.filter(function(staticMethod) {
return !staticMethod.tags.tagsByName.get('private');
return !staticMethod.tags.tagsByName.get('private') && !staticMethod.tags.tagsByName.get('internal')
});
}
});
Expand Down
3 changes: 2 additions & 1 deletion scripts/docs/tag-defs/tag-defs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = [
{'name': 'advanced'},
{'name': 'demo'},
{'name': 'usage'}
{'name': 'usage'},
{'name': 'internal'}
];

0 comments on commit 69169c5

Please sign in to comment.