From 76f63bc6a5cd4f98333ac40a245e9b0f4995dafe Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 23 Jul 2015 08:55:41 +0100 Subject: [PATCH] chore(doc-gen/angular.io): check for not private rather is public In 2e4a2a0e5a2 we removed the `@public` tags but the `addJadeDataDocsProcessor` was still relying upon them being there to identify whether a doc should be included in the public docs. Instead we should just check for the doc not being marked with the `@private` tag. Closes #3212 --- 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 0481574c81..15fd561f94 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() { */ _.forEach(docs, function(doc) { - if (doc.docType === 'module' && doc.public && doc.exports.length) { + if (doc.docType === 'module' && !doc.private && doc.exports.length) { modules.push(doc); // GET DATA FOR INDEX PAGE OF MODULE SECTION