Just wanted to start by saying awesome work on documentcss!
Problem:
DocumentCss tries to parse any "tags" that are within the @description tag. This makes it hard to properly document usage of the scss file. Here is an example:
/**
*
* @stylesheet _icons.scss Icons
* @parent styles
*
*
* @description
* This icon page is being pulled from documentation in the '_icons.scss'
*
*
*
*
* @demo demos/modules/icons/demo.html
*
* ### Sample Rule Creation with mixins available in the icons scss file
*
* **Note due to a parsing bug in documentCSS assume (@) is just @
*
* ```
// Font face definitions cannot be nested in a class
(@)include r7-icon-font-face('/fonts');
// Sample Light Theme Usage
(@)import 'modules/buttons/light-theme';
(@)import 'modules/icons/light-theme';
.ui-light{
(@)include r7-buttons();
(@)include r7-icons();
}
//Sample Dark Theme Usage
(@)import 'modules/buttons/dark-theme';
(@)import 'modules/icons/dark-theme';
.ui-dark{
(@)include r7-buttons();
(@)include r7-icons();
// Example font size change
&.large{
(@)include r7-icon-font-size(1.9rem);
}
}
* ```
*
**/
When trying to build the docs and I replace (@) with @ in the above example, I get:
Generating styles at styleguide
>> WARNING!!
>> There is no @include tag. did you mean @class ?
Just wanted to start by saying awesome work on documentcss!
Problem:
DocumentCss tries to parse any "tags" that are within the @description tag. This makes it hard to properly document usage of the scss file. Here is an example:
When trying to build the docs and I replace (@) with @ in the above example, I get: