简体   繁体   中英

jsdoc @link doesn't work

Im using jsdoc 3.4.3 and i tried to use @link to link to internal @typedef that iv'e done

/**
 * @typedef {Object} Color
 * @property {string} [attr] - attribute name corresponding to an outcome event
 */

/**
 * @typedef {Object} Config
 * ..
 * ..
 * ..
 * @property {Color} [l.lC=Color] - coloring specification for the nodes as defined in {@link Color}
 * @property {Color} [l.nC=Color] - coloring specification for the links as defined in {@link Color}
 */

this is a documentation of a javascript file. can some see the problem (or know about known problem with @link)

Maybe eg

@see [Color](module-Color.html)

Also, check your configuration for cleverLinks and monospaceLinks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM