Sails.js @登录SailsJS评论

Sails.js @登录SailsJS评论,sails.js,comments,Sails.js,Comments,考虑在模型开始时自动生成的注释: /** * User.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models */ 在@description和@do

考虑在模型开始时自动生成的注释:

/**
 * User.js
 *
 * @description :: TODO: You might write a short summary of how this model works and what it represents here.
 * @docs        :: http://sailsjs.org/documentation/concepts/models-and-orm/models
 */

@description
@docs
行中,@符号表示什么?

我认为@只是表示一个实体。请参见

Ok,正如我所看到的,apiDoc文档编译器使用相同的语法。但是默认情况下,SALSJ没有文档框架。这是某种普遍的共识吗?基本上——def不是普遍的,只是相对普遍,甚至跨语言。绝对不是唯一正确的方法:)