Skip to content

Commit 1b4289c

Browse files
committed
fix(docs): add a header for the directive info section
1 parent af21233 commit 1b4289c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/src/ngdoc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,12 @@ Doc.prototype = {
473473
if (self.priority !== undefined) {
474474
list.push('This directive executes at priority level ' + self.priority + '.');
475475
}
476-
dom.ul(list);
476+
477+
if (list.length) {
478+
dom.h('Directive info', function() {
479+
dom.ul(list);
480+
});
481+
}
477482
},
478483

479484
html_usage_overview: function(dom){

0 commit comments

Comments
 (0)