fix(aio): ignore private exports

Closes #14992
This commit is contained in:
Peter Bacon Darwin
2017-03-12 13:27:47 +00:00
committed by Chuck Jazdzewski
parent 62d5543b01
commit 3f7cfde476
7 changed files with 93 additions and 4 deletions

View File

@ -76,8 +76,11 @@ module.exports = function generateKeywordsProcessor(log, readFilesProcessor) {
}
// We are only interested in docs that live in the right area
const filteredDocs = docs.filter(function(doc) { return !docTypesToIgnore[doc.docType]; });
const filteredDocs = docs
// We are not interested in some docTypes
.filter(function(doc) { return !docTypesToIgnore[doc.docType]; })
// Ignore internals and private exports (indicated by the ɵ prefix)
.filter(function(doc) { return !doc.internal && !doc.privateExport; });
filteredDocs.forEach(function(doc) {