diff options
| author | Brian Ford | 2013-11-06 09:32:09 -0800 | 
|---|---|---|
| committer | Brian Ford | 2013-11-06 09:32:09 -0800 | 
| commit | c1260716de634f0cc25ae884ffc481ed6b7d520a (patch) | |
| tree | 3bf9e2db08225494c285dbff3f3edaefbc3596f2 /docs/src | |
| parent | 5614fd283a22d130cf5e09dade67be3f3c3a97c2 (diff) | |
| download | angular.js-c1260716de634f0cc25ae884ffc481ed6b7d520a.tar.bz2 | |
chore(ngdoc): add dynamic anchors to anchor list
Fixes some warnings during docs generation.
Closes #4673
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/ngdoc.js | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index d367be0c..a08c76d0 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -1331,6 +1331,9 @@ function checkBrokenLinks(docs) {    docs.forEach(function(doc) {      byFullId[doc.section + '/' + doc.id] = doc; +    if (doc.section === 'api') { +      doc.anchors.push('directive', 'service', 'filter', 'function'); +    }    });    docs.forEach(function(doc) { | 
