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) { docs.forEach(function(doc) {
if (doc.members) { if (doc.members) {
doc.members = doc.members.filter(function(member) { 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) { if (doc.statics) {
doc.statics = doc.statics.filter(function(staticMethod) { doc.statics = doc.statics.filter(function(staticMethod) {
return !staticMethod.tags.tagsByName.get('private'); return !staticMethod.tags.tagsByName.get('private') && !staticMethod.tags.tagsByName.get('internal')
}); });
} }
}); });

View File

@ -1,5 +1,6 @@
module.exports = [ module.exports = [
{'name': 'advanced'}, {'name': 'advanced'},
{'name': 'demo'}, {'name': 'demo'},
{'name': 'usage'} {'name': 'usage'},
{'name': 'internal'}
]; ];