chore(doc-gen): move `@publicModule` tag-def to base package
This prevents unwanted "unknown tag" warnings when generating the non-public docs.
This commit is contained in:
parent
539e8e2cce
commit
7e89af8190
|
@ -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
|
// Configure ids and paths
|
||||||
.config(function(computeIdsProcessor, computePathsProcessor, EXPORT_DOC_TYPES) {
|
.config(function(computeIdsProcessor, computePathsProcessor, EXPORT_DOC_TYPES) {
|
||||||
|
|
|
@ -6,10 +6,6 @@ module.exports = new Package('angular-public', [basePackage])
|
||||||
|
|
||||||
.processor(require('./processors/filterPublicDocs'))
|
.processor(require('./processors/filterPublicDocs'))
|
||||||
|
|
||||||
.config(function(parseTagsProcessor) {
|
|
||||||
parseTagsProcessor.tagDefinitions.push({ name: 'publicModule' });
|
|
||||||
})
|
|
||||||
|
|
||||||
.config(function(processClassDocs, filterPublicDocs, EXPORT_DOC_TYPES) {
|
.config(function(processClassDocs, filterPublicDocs, EXPORT_DOC_TYPES) {
|
||||||
processClassDocs.ignorePrivateMembers = true;
|
processClassDocs.ignorePrivateMembers = true;
|
||||||
filterPublicDocs.docTypes = EXPORT_DOC_TYPES;
|
filterPublicDocs.docTypes = EXPORT_DOC_TYPES;
|
||||||
|
|
Loading…
Reference in New Issue