Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Jekyll warnings #58

Open
oleg-nenashev opened this issue Apr 30, 2023 · 0 comments
Open

Cleanup Jekyll warnings #58

oleg-nenashev opened this issue Apr 30, 2023 · 0 comments
Labels
chore Maintenance good first issue Good for newcomers

Comments

@oleg-nenashev
Copy link
Member

Summary

There is a number of Jekyll and Liquid warnings in the build output. It would be nice to clean them up

C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org>bundle exec jekyll serve --config '_config.yml,_config-3.x.yml
Configuration file: C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_config.yml
Configuration file: C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_config-3.x.yml
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
            Source: C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org
       Destination: C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/tmp/site_3x
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
    Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_layouts/splash.html
    Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_layouts/single.html
    Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_layouts/archive.html
    Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org/_layouts/support.html
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(1, 4) or calc(1 / 4)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
136 │     gutters: 1/4,
    │              ^^^
    ╵
    _variables.scss 136:14                                                              @import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 11:9  root stylesheet
Deprecation Warning: Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.

Recommendation: call(get-function(mixin-exists))

   ╷
70 │         $_pass: call(unquote("#{$_type}-exists"), $_i);
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_support.scss 70:17    susy-support()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_box-sizing.scss 12:9  susy-box-sizing()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_support.scss 40:5     susy-support()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\shared\_output.scss 12:5       output()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_box-sizing.scss 21:28  global-box-sizing()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_box-sizing.scss 35:3   border-box-sizing()
    _reset.scss 5:1
  @import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 16:9
  root stylesheet
Deprecation Warning: Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.

Recommendation: call(get-function(variable-exists))

   ╷
70 │         $_pass: call(unquote("#{$_type}-exists"), $_i);
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_support.scss 70:17    susy-support()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_rem.scss 17:7         susy-rem()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_prefix.scss 17:5      susy-prefix()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_box-sizing.scss 16:7  susy-box-sizing()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\support\_support.scss 40:5     susy-support()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\output\shared\_output.scss 12:5       output()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_box-sizing.scss 21:28  global-box-sizing()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_box-sizing.scss 35:3   border-box-sizing()
    _reset.scss 5:1
  @import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 16:9
  root stylesheet
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($value, 16px) or calc($value / 16px)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
28 │     @return $value / 16px * 1em;
   │             ^^^^^^^^^^^^^
   ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\_helpers.scss 28:13
base-conversion()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\_helpers.scss 20:13
breakpoint-to-base-em()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\parsers\single\_default.scss 8:29  breakpoint-parse-default()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\parsers\_single.scss 22:14
breakpoint-parse-single()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\_parsers.scss 153:18
breakpoint-parse()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\breakpoint\_parsers.scss 48:22
breakpoint()
    vendor\breakpoint\_breakpoint.scss 46:16
breakpoint()
    _reset.scss 13:3
@import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 16:9
root stylesheet
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($span-sum, $context) or calc($span-sum / $context)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
156 │       $width: percentage($span-sum / $context);
    │                          ^^^^^^^^^^^^^^^^^^^^
    ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_span.scss 156:26  get-span-width()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_span.scss 45:11   span()
    _utilities.scss 163:24                                                                                           @content
    vendor\breakpoint\_breakpoint.scss 66:7                                                                          breakpoint()
    _utilities.scss 162:3                                                                                            @import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 19:9                               root stylesheet
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($-gutters, susy-sum($-columns, $-gutters, $-spread)) or calc($-gutters / susy-sum($-columns, $-gutters, $-spread))

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
80 │       $_gutter  : percentage($_gutters / susy-sum($_columns, $_gutters, $_spread));
   │                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_gutters.scss 80:30   get-gutter-width()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_gutters.scss 100:25  get-gutters()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_span.scss 70:13      span-math()
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_span.scss 13:12      span()
    _navigation.scss 35:13
@content
    vendor\breakpoint\_breakpoint.scss 66:7
breakpoint()
    _navigation.scss 34:9
@import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 25:9
root stylesheet
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($context, $n) or calc($context / $n)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
24 │   $line         : floor($context / $n);
   │                         ^^^^^^^^^^^^^
   ╵
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\_sass\vendor\susy\susy\language\susy\_gallery.scss 24:25  gallery()
    _archive.scss 130:5                                                                                                @content
    vendor\breakpoint\_breakpoint.scss 66:7                                                                            breakpoint()
    _archive.scss 129:3                                                                                                @import
    C:\Users\Oleg\Documents\opensource\wiremock\wiremock.org\assets\css\main.scss 33:9                                 root stylesheet
Warning: 7 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
                    done in 9.249 seconds.
 Auto-regeneration: enabled for 'C:/Users/Oleg/Documents/opensource/wiremock/wiremock.org'

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant