为什么SassDoc无法解析我的@links和@todos

时间:2019-05-05 15:00:14

标签: sass documentation-generation

我生成的SassDoc文件没有解析链接,而待办事项超出第一个。您只允许1个链接和1个待办事项,还是因为SCSS是嵌套的,所以这是一个问题吗?

这是我的SCSS:

// This stylesheet takes existing Bootstrap 4+ classes and variables to extend and override GravityForm's rather sucky styles.

/// The `.gform_wrapper` class wraps all Gravity Forms code. Here, we've extended Bootstrap's `.col-12` 
/// to make sure it goes full width.
/// @name .gform_wrapper
/// @todo Change this to `@extend .container-fluid` or whatever grid size is necessary for your theme.
/// @link https://docs.gravityforms.com/css-visual-guide/ 
.gform_wrapper {
  @extend .col-12;

  /// The actual form element.
  /// Extends Bootstraps .row because we want the negative padding (to offset the padding
  /// we introduced by extending .gform_wrapper as .col-12, and display the whole thing as a flex block.
  ///
  /// @link https://getbootstrap.com/docs/4.1/components/forms/
  form {
    @extend .row;
  }
}

我生成的SassDoc文件按照附件的图像1显示。第一部分,详细介绍.gform_wrapper是完美的。但是以下部分看起来像@todo和@link声明只是与描述一起解析?

我在某处错过错字了吗?我无法想象问题出在嵌套上,因为这首先是编写SASS / SCSS的一半。还是我正在使用SCSS而不是SASS的问题?

我正在Windows Powershell上运行此程序,已使用npm install sassdoc -g全局安装了sassdoc

0 个答案:

没有答案