From b8ef20e353509b1fcd8f41481dc7658283718c6d Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 19 Jun 2015 13:56:49 +0100 Subject: [PATCH] chore(doc-gen): ignore `@param` tags At the moment we are not parsing param tags. This commit ignores them completely. TODO: hook up param descriptions with the actual param data in the doc. Closes #2633 --- docs/dgeni-package/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/dgeni-package/index.js b/docs/dgeni-package/index.js index bc2143588d..2034e5e415 100644 --- a/docs/dgeni-package/index.js +++ b/docs/dgeni-package/index.js @@ -78,7 +78,8 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac // We actually don't want to parse param docs in this package as we are getting the data out using TS parseTagsProcessor.tagDefinitions.forEach(function(tagDef) { if (tagDef.name === 'param') { - tagDef.ignore = true; + tagDef.docProperty = 'paramData'; + tagDef.transforms = []; } });