jsdoc模块文档,其中的类位于单独的文件中

时间:2020-08-14 17:05:57

标签: jsdoc

我正在尝试在代码中设置jsdoc。这些文件就像下面的图像。该模块实际上是文件夹skeleton。我需要添加到两个class.js文件中以使它们包含在由jsdoc生成的模块中吗?

enter image description here

现在它是这样生成的。它不包含类的信息。 enter image description here

如果将注释块从移动到班级文件,则会得到下面的图像,如果将其放在两个文件中,则所有信息都会重复。 enter image description here

我的评论栏是这个

/**
 * Module defining the database structure. This module contains all table models as well as any validations or functions related to those models.
 * @module Skeleton
 * @author E. Koster
 * @version 1.0.0
 * @since 2.0.0
 */

1 个答案:

答案 0 :(得分:0)

我找到了它,它就是我想要的@memberOf模块:MODULE_NAME。

相关问题