Skip to content

Commit 902984c

Browse files
chore(doc-gen): only generate angular.io module and _data docs for public modules
1 parent ce431f2 commit 902984c

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(EXPORT_DOC_TYPES) {
3535
*/
3636

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

4141
// GET DATA FOR INDEX PAGE OF MODULE SECTION

0 commit comments

Comments
 (0)