Merge branch 'port-documentation' into dynamic-nav

* port-documentation:
  Fix compat tables
This commit is contained in:
Jonny Gerig Meyer 2023-05-24 13:11:57 -04:00
commit 1f2ea317bf
No known key found for this signature in database
5 changed files with 13 additions and 9 deletions

View File

@ -43,8 +43,8 @@ Anywhere behavior differs between versions or implementations, the documentation
includes a compatibility indicator like this:
{% endmarkdown %}
{% compatibility true, '3.6.0', false, 'Feature Name' %}
{% endcompatibility %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility true, '3.6.0', null, false, 'Feature Name' %}{% endcompatibility %}
{% markdown %}
Implementations with a "✓" fully support the feature in question, and
@ -53,7 +53,8 @@ number started supporting the feature in question at that version.
Implementations can also be marked as "partial":
{% endmarkdown %}
{% compatibility true, 'partial', false %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility true, 'partial', null, false %}
Additional details go here.
{% endcompatibility %}

View File

@ -1,4 +1,4 @@
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby` %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility '1.23.0', false, null, false %}
Only Dart Sass currently supports `@use`. Users of other implementations must
use the [`@import` rule][] instead.

View File

@ -146,8 +146,8 @@ $rounded-corners: false
## Custom Properties
{% endmarkdown %}
{% # Arguments are (in order): `dart`, `libsass`, `ruby`, optional feature name, additional details within %}
{% compatibility true, '3.5.0', '3.5.0', 'SassScript Syntax' %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility true, '3.5.0', null, '3.5.0', 'SassScript Syntax' %}
Older versions of LibSass and Ruby Sass parsed custom property declarations just like any other property declaration, allowing the full range of SassScript expressions as values. Even when using these versions, it's
recommended that you use interpolation to inject SassScript values for
forwards-compatibility.

View File

@ -7,7 +7,8 @@ introduction: >
{{ '## Input Encoding' | markdown }}
{% compatibility false, true, true %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility false, true, null, true %}
Dart Sass currently _only_ supports the UTF-8 encoding. As such, it's safest to encode all Sass stylesheets as UTF-8.
{% endcompatibility %}

View File

@ -97,7 +97,8 @@ $roboto-font-path: "../fonts/roboto"
{{ '## `element()`, `progid:...()`, and `expression()`' | markdown }}
{% compatibility "<1.40.0", false, false, "calc()" %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility "<1.40.0", false, null, false, "calc()" %}
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.40.0 parse `calc()` as special syntactic function like `element()`.
Dart Sass versions 1.40.0 and later parse `calc()` as a [calculation].
@ -105,7 +106,8 @@ Dart Sass versions 1.40.0 and later parse `calc()` as a [calculation].
[calculation]: /documentation/values/calculations
{% endcompatibility %}
{% compatibility ">=1.31.0 <1.40.0", false, false, "clamp()" %}
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
{% compatibility ">=1.31.0 <1.40.0", false, null, false, "clamp()" %}
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.31.0 parse `clamp()`
as a [plain CSS function] rather than supporting special syntax within it.