chore(docs): hide internal docs as well

This commit is contained in:
mhartington
2016-08-03 17:21:09 -04:00
parent b7c45482c6
commit 69169c5fc5
2 changed files with 4 additions and 3 deletions

View File

@ -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')
});
}
});