chore(ngdoc): add dynamic anchors to anchor list

Fixes some warnings during docs generation.

Closes #4673
This commit is contained in:
Brian Ford 2013-11-06 09:32:09 -08:00
parent 5614fd283a
commit c1260716de

View file

@ -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) {