Skip to content

Commit 76f63bc

Browse files
chore(doc-gen/angular.io): check for not private rather is public
In 2e4a2a0 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 angular#3212
1 parent 3531bb7 commit 76f63bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/angular.io-package/processors/addJadeDataDocsProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function addJadeDataDocsProcessor() {
3535
*/
3636

3737
_.forEach(docs, function(doc) {
38-
if (doc.docType === 'module' && doc.public && doc.exports.length) {
38+
if (doc.docType === 'module' && !doc.private && doc.exports.length) {
3939
modules.push(doc);
4040

4141
// GET DATA FOR INDEX PAGE OF MODULE SECTION

0 commit comments

Comments
 (0)