diff --git a/tools/api-builder/docs-package/index.js b/tools/api-builder/docs-package/index.js index b44b1446fc..9997990115 100644 --- a/tools/api-builder/docs-package/index.js +++ b/tools/api-builder/docs-package/index.js @@ -17,7 +17,7 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage, .processor(require('./processors/checkUnbalancedBackTicks')) .processor(require('./processors/convertBackticksToCodeBlocks')) .processor(require('./processors/addNotYetDocumentedProperty')) -.processor(require('./processors/mergeDecoratorDocs')) +.processor(require('./processors/mergeDecoratorDocsEmpty')) .processor(require('./processors/extractDecoratedClasses')) .config(function(parseTagsProcessor) { diff --git a/tools/api-builder/docs-package/processors/mergeDecoratorDocsEmpty.js b/tools/api-builder/docs-package/processors/mergeDecoratorDocsEmpty.js new file mode 100644 index 0000000000..0198375194 --- /dev/null +++ b/tools/api-builder/docs-package/processors/mergeDecoratorDocsEmpty.js @@ -0,0 +1,10 @@ +var _ = require('lodash'); + +module.exports = function mergeDecoratorDocs() { + return { + $runAfter: ['processing-docs'], + $runBefore: ['docs-processed'], + $process: function(docs) { + } + }; +}; \ No newline at end of file