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

@ -24,7 +24,9 @@ function getModuleInfo(moduleDoc) {
return {
name: moduleName.toLowerCase(),
title: moduleName,
items: moduleDoc.exports.filter(doc => !doc.internal).map(getExportInfo)
items: moduleDoc.exports
// Ignore internals and private exports (indicated by the ɵ prefix)
.filter(doc => !doc.internal && !doc.privateExport).map(getExportInfo)
};
}