From af2cda3687314e13bc25b558d3fbf9c40ec46f0d Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Thu, 8 Aug 2013 15:46:33 -0700 Subject: fix(docs/error): make minerr ids searchable Closes #3513 --- docs/src/ngdoc.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/src') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 177fbd21..c1ad2d1d 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -112,6 +112,10 @@ Doc.prototype = { this.methods.forEach(function(method) { extractWords(method.text || method.description || ''); }); + if (this.ngdoc === 'error') { + words.push(this.getMinerrNamespace()); + words.push(this.getMinerrCode()); + } words.sort(); return words.join(' '); }, -- cgit v1.2.3