Skip to content

Commit

Permalink
fix: Add default docs variable value
Browse files Browse the repository at this point in the history
  • Loading branch information
zastrow committed Dec 10, 2020
1 parent db0bd94 commit dd0540c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions _sparkle-settings.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Print Documentation Settings
// Set this to true in user settings
// to enable docs comment generation
$sparkle-show-docs: false !default;

// Sparkle User Settings
$settings: (
'prefix': 'sparkle',
'loop-mq': true,
Expand Down
3 changes: 1 addition & 2 deletions mdcss/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// turns off and on the comments used to generate
// the Docs. If this variable is set to false, the
// docs will not generate.
@import "../settings";
$sparkle-show-docs: true;

/* Begin Sparkle Docs */
Expand All @@ -23,8 +24,6 @@ $sparkle-show-docs: true;
*/
}

@import "../settings";

@if $sparkle-show-docs {
/* ---
section: Tools
Expand Down

0 comments on commit dd0540c

Please sign in to comment.