chore(doc-gen): only generate angular.io module and _data docs for public modules

This commit is contained in:
Peter Bacon Darwin 2015-04-28 14:54:47 +01:00
parent ce431f279e
commit 902984cc10
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module.exports = function addJadeDataDocsProcessor(EXPORT_DOC_TYPES) {
*/
_.forEach(docs, function(doc) {
if (doc.docType === 'module' && doc.exports.length) {
if (doc.docType === 'module' && doc.public && doc.exports.length) {
modules.push(doc);
// GET DATA FOR INDEX PAGE OF MODULE SECTION