mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(ngdoc): add dynamic anchors to anchor list
Fixes some warnings during docs generation. Closes #4673
This commit is contained in:
parent
5614fd283a
commit
c1260716de
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue