diff --git a/docs/dgeni-package/index.js b/docs/dgeni-package/index.js index 36b6bafd27..5c8a4bf689 100644 --- a/docs/dgeni-package/index.js +++ b/docs/dgeni-package/index.js @@ -89,6 +89,10 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage]) ]; }) +// Add in a custom tag that we use when generating public docs +.config(function(parseTagsProcessor) { + parseTagsProcessor.tagDefinitions.push({ name: 'publicModule' }); +}) // Configure ids and paths .config(function(computeIdsProcessor, computePathsProcessor, EXPORT_DOC_TYPES) { diff --git a/docs/public-docs-package/index.js b/docs/public-docs-package/index.js index 9918796d2b..da001e7a1f 100644 --- a/docs/public-docs-package/index.js +++ b/docs/public-docs-package/index.js @@ -6,10 +6,6 @@ module.exports = new Package('angular-public', [basePackage]) .processor(require('./processors/filterPublicDocs')) -.config(function(parseTagsProcessor) { - parseTagsProcessor.tagDefinitions.push({ name: 'publicModule' }); -}) - .config(function(processClassDocs, filterPublicDocs, EXPORT_DOC_TYPES) { processClassDocs.ignorePrivateMembers = true; filterPublicDocs.docTypes = EXPORT_DOC_TYPES;