code: function genCommentContent(content, filename) {
    try {
      let documentText = ''
      let hasComment = false
      let document = '-----\n'
      document += `**${filename}**\n\n`
      // 处理装饰器@过滤问题
      const comments = extractComments(content.replace(/\n@/g, ''))
      comments.forEach(({ type, value }) => {
          if (type === 'BlockComment') {
              const lines = value.split('\n')
              for (let i = 0, l = lines.length; i < l; i++) {
                  lines[i] = lines[i].replace(/^\s*\*\s?/, '');
              }
              const comment = lines.join('\n').trim()
              if (comment.indexOf('__doc__') === 0) {
                  if (!hasComment) hasComment = true
                  document += comment.slice(7).trim()
                  document += `\n\n`
              }
          }
      })
      if (hasComment) {
          documentText += document
          console.log(chalk.green(`${filename} 文档生成成功`))
          return documentText
      }
      return false
    } catch (genError) {
      throw genError
    }
  }
docs: 生成注释信息