@tutorial¶
-
.. @tutorial::¶ - 语法
@tutorial <tutorialID>- 概述
The
@tutorialtag inserts a link to a tutorial file that is provided as part of the documentation. See the 教程 for instructions on creating tutorials.You can use the
@tutorialtag more than once in a single JSDoc comment.- 示例
In the following example, the documentation for
MyClasswill link to the tutorials that have the identifierstutorial-1andtutorial-2:Using the @tutorial tag¶/** * Description * @class * @tutorial tutorial-1 * @tutorial tutorial-2 */ function MyClass() {}