Skip to content

Commit 7649d62

Browse files
authored
Update SIP pages (#3239)
* Add conditional display for shipped field showing preview feature availability with link to documentation * Add new SIP-71 (into) proposal * Minor updates to SIP-61, SIP-62, and SIP-68 in sync with SIP repository
1 parent d4deaaf commit 7649d62

File tree

6 files changed

+344
-10
lines changed

6 files changed

+344
-10
lines changed

_layouts/sip.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ <h5 class="contents">Status</h5>
2424
It might be available as an experimental feature in the latest version of the compiler.
2525
{% endif %}
2626
</p>
27-
{% else if page.stage == "completed" %}
27+
{% elsif page.stage == "completed" and page.status == "shipped" %}
2828
<p>
2929
This proposal has been implemented,
30-
{% if page.status == "accepted" %}
31-
it will be available in the next minor release of the compiler.
32-
{% else if page.status == "shipped" %}
30+
{% if page.shipped %}
31+
it has been made available as a <a href="https://scala-lang.org/api/3.x/docs/docs/reference/preview/index.html">preview feature</a> in Scala {{ page.shipped }} and
32+
will be activated by default in the next minor release of the compiler.
33+
{% else %}
3334
it is available in the latest version of the compiler.
3435
{% endif %}
3536
</p>

_sips/all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ of the compiler (accepted). Click on a proposal to read its content.
2525
<div class="sip-list">
2626
<ul>
2727
{% for sip in sips %}
28-
{% if sip.stage == "completed" %}
28+
{% if sip.stage == "completed" and sip.status == "shipped" %}
2929
<li class="no-fragmentation">
3030
<strong><a href="{{ sip.url }}">{{ sip.kind | default: 'SIP' }}-{{ sip.number }} - {{ sip.title }}</a></strong>
3131
<div class="tag" style="background-color: {{ sipData[sip.status].color }}">{{ sipData[sip.status].text }}</div>

_sips/sips/061-unroll-default-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
layout: sip
33
number: 61
44
permalink: /sips/:title.html
5-
stage: implementation
6-
status: under-review
5+
stage: completed
6+
status: accepted
77
title: Unroll Default Arguments for Binary Compatibility
88
---
99

_sips/sips/062-better-fors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
layout: sip
33
number: 62
44
permalink: /sips/:title.html
5-
stage: implementation
6-
status: under-review
5+
stage: completed
6+
status: shipped
77
title: For comprehension improvements
88
---
99

_sips/sips/068-reference-package-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: sip
33
number: 68
44
permalink: /sips/:title.html
55
stage: completed
6-
status: shipped
6+
status: accepted
77
title: Reference-able Package Objects
88
---
99

0 commit comments

Comments
 (0)