chore(doc-gen/angular.io): check for not private rather is public

In 2e4a2a0e5a 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
This commit is contained in:
Peter Bacon Darwin 2015-07-23 08:55:41 +01:00
parent 3531bb7118
commit 76f63bc6a5
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module.exports = function addJadeDataDocsProcessor() {
*/ */
_.forEach(docs, function(doc) { _.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); modules.push(doc);
// GET DATA FOR INDEX PAGE OF MODULE SECTION // GET DATA FOR INDEX PAGE OF MODULE SECTION