File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -118,17 +118,23 @@ ($out_dir = 'html', Bool :$debug)
118
118
next unless % methods-by-type {$ r };
119
119
$ pod . content. push :
120
120
pod-heading(" Methods supplied by role $ r" ),
121
- # TODO: make that a link to $r
122
- pod-block(" $ podname does role $ r , which provides the following methods:" ),
121
+ pod-block(
122
+ " $ podname does role " ,
123
+ pod-link($ r . name , " /type/$ r" ),
124
+ " , which provides the following methods:" ,
125
+ ),
123
126
% methods-by-type {$ r }. list,
124
127
;
125
128
}
126
129
for @ mro -> $ c {
127
130
next unless % methods-by-type {$ c };
128
131
$ pod . content. push :
129
132
pod-heading(" Methods supplied by class $ c" ),
130
- # TODO: make that a link to $c
131
- pod-block(" $ podname inherits from class $ c , which provides the following methods:" ),
133
+ pod-block(
134
+ " $ podname inherits from class " ,
135
+ pod-link($ c . name , " /type/$ c" ),
136
+ " , which provides the following methods:" ,
137
+ ),
132
138
% methods-by-type {$ c }. list,
133
139
;
134
140
}
You can’t perform that action at this time.
0 commit comments