From 902984cc10fd4b1d3ca87a6724d1e0a35f131d90 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 28 Apr 2015 14:54:47 +0100 Subject: [PATCH] chore(doc-gen): only generate angular.io module and _data docs for public modules --- docs/angular.io-package/processors/addJadeDataDocsProcessor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/angular.io-package/processors/addJadeDataDocsProcessor.js b/docs/angular.io-package/processors/addJadeDataDocsProcessor.js index 8421816a0c..81d8db4a92 100644 --- a/docs/angular.io-package/processors/addJadeDataDocsProcessor.js +++ b/docs/angular.io-package/processors/addJadeDataDocsProcessor.js @@ -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