Merge branch 'main' of github.com:sass/sass-site

* 'main' of github.com:sass/sass-site:
  Cut a release for a new Dart Sass version
  Clarify flow control scope documentation (#681)
  Add link to a new Maven plugin on the block. (#714)
  Fix a redirect loop for /documentation/functions (#712)
  Fix link in the blog post about CSS nesting (#713)
This commit is contained in:
Jonny Gerig Meyer 2023-04-07 15:09:30 -04:00
commit fa6dd55bda
No known key found for this signature in database
3 changed files with 25 additions and 12 deletions

View File

@ -57,7 +57,7 @@ for dir in ['docs/yardoc', 'documentation'] do
redirect "#{dir}/file.SCSS_FOR_SASS_USERS.html", to: '/documentation/syntax'
redirect "#{dir}/Sass/Script/Functions.html", to: '/documentation/modules'
redirect "#{dir}/Sass/Script/Functions.html", to: '/documentation/modules'
redirect "#{dir}/functions.html", to: '/documentation/functions'
redirect "#{dir}/functions.html", to: '/documentation/modules'
redirect "#{dir}/functions/css.html", to: '/documentation/at-rules/function#plain-css-functions'
Dir['old_source/documentation/modules/*.html.md.erb'].each do |file|

View File

@ -279,9 +279,9 @@ assign a value to a variable, or build up a value as part of a loop.
<% heads_up do %>
Variables in flow control scope can assign to existing variables in the outer
scope, but they can't declare new variables there. Make sure the variable is
already declared before you assign to it, even if you need to declare it as
`null`.
scope, but new variables declared in flow control scope won't be accessible in
the outer scope. Make sure the variable is already declared before you assign
to it, even if you need to declare it as `null`.
<% end %>
## Advanced Variable Functions

View File

@ -44,20 +44,33 @@ no_container: true
There are also community-maintained wrappers for the following languages:
%ul
%li
#{link_to 'Java', 'https://mvnrepository.com/artifact/de.larsgrefer.sass'},
including
#{link_to 'Gradle', 'https://docs.freefair.io/gradle-plugins/current/reference/#_embedded_sass'}
and
#{link_to 'Maven', 'https://github.com/HebiRobotics/sass-cli-maven-plugin'}
plugins.
%li
#{link_to 'Ruby', 'https://github.com/ntkme/sass-embedded-host-ruby#readme'}
%li
#{link_to 'Swift', 'https://github.com/johnfairh/swift-sass#readme'}
%li
#{link_to 'Java', 'https://mvnrepository.com/artifact/de.larsgrefer.sass'},
including:
%ul
%li
A
#{link_to 'Gradle plugin', 'https://docs.freefair.io/gradle-plugins/current/reference/#_embedded_sass'}.
%li
A lightweight
#{link_to 'Maven plugin wrapping the Sass CLI', 'https://github.com/HebiRobotics/sass-cli-maven-plugin'}.
It specifies the Sass version to use. The CLI arguments are
passed-in with an <code>&lt;args&gt;</code> list.
%li
A batteries-included
#{link_to 'Maven plugin wrapping Dart Sass', 'https://github.com/cleydyr/dart-sass-maven-plugin'}.
It bundles a fixed <code>dart-sass</code> version. The CLI arguments
are exposed as Maven parameters.
.sl-l-grid__column
:markdown
## Command Line