mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Rendering @links in type names.
This commit is contained in:
parent
523cb3dbd4
commit
32c59fa032
@ -7,7 +7,7 @@
|
||||
*/
|
||||
(function() {
|
||||
/** Populate the given dictionary with all known JSDoc tag definitions.
|
||||
@param {module:jsdoc/tag/dictionary.Dictionary} dictionary
|
||||
@param {module:jsdoc/tag/dictionary} dictionary
|
||||
*/
|
||||
exports.defineTags = function(dictionary) {
|
||||
|
||||
|
||||
@ -193,7 +193,7 @@ h6
|
||||
margin: 0;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
border-left: 3px #1C02A3 solid;
|
||||
border-left: 3px #ddd solid;
|
||||
}
|
||||
|
||||
.params
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
<?js
|
||||
if (param.type && param.type.names) {
|
||||
param.type.names.forEach(function(name, i) {
|
||||
print( htmlsafe(name) );
|
||||
print( linkto(name, htmlsafe(name)) );
|
||||
if (i < param.type.names.length-1) { print(' | '); }
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user