Skip to content

Commit 30715b4

Browse files
committed
Hotlink struct member types
1 parent 31b5cae commit 30715b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/js/docurium.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ $(function() {
362362
var needs = _.map(data.used.needs, toPair, docurium)
363363
var fileLink = {name: data.file, url: docurium.github_file(data.file, data.line, data.lineto)}
364364

365+
// Hot link our field types
366+
data.fields = _.map(data.fields, function(field) {
367+
return {type: this.hotLink(field.type), name: field.name, comments: field.comments}
368+
}, docurium)
365369

366370
this.set('data', {tname: tname, data: data, returns: returns, needs: needs, fileLink: fileLink})
367371
}

0 commit comments

Comments
 (0)