Skip to content

Commit 507bab4

Browse files
Governance block draft
1 parent c45504c commit 507bab4

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed

_data/governance.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
cards:
2+
- title: "Scala Improvement Process"
3+
description: "SIPs are the primary mechanism for proposing new features, collecting community feedback, and building consensus around future development."
4+
links:
5+
- name: SIP Committee Members
6+
url: https://docs.scala-lang.org/sips/process-specification.html#the-sip-committee
7+
- name: SIP Process Specification
8+
url: https://docs.scala-lang.org/sips/process-specification.html
9+
- title: "Scala 3 Maintenance"
10+
description: "Who maintains the Scala 3 compiler?"
11+
links:
12+
- name: People
13+
url: https://github.com/lampepfl/dotty/blob/main/MAINTENANCE.md#compiler
14+
- name: Process
15+
url: https://github.com/lampepfl/dotty/blob/main/MAINTENANCE.md
16+
- title: "Tooling"
17+
description: "Learn about who maintains the Scala tooling. Process and people are TBD, stay tuned."
18+
links:
19+
- name: "Scala Tooling Summit of March 2023"
20+
url: https://www.scala-lang.org/blog/2023/04/11/march-2023-scala-tooling-summit.html
21+
- title: "Moderation"
22+
description: "Learn about how is the Scala community moderated."
23+
links:
24+
- name: Code of Conduct
25+
url: https://www.scala-lang.org/conduct/
26+
- name: "Moderation Team"
27+
url: https://www.scala-lang.org/conduct/#contact
28+
- name: "Inclusive Language Guide"
29+
url: https://docs.scala-lang.org/contribute/inclusive-language-guide.html
30+
- name: "Communication Channels"
31+
url: https://docs.scala-lang.org/community/
32+
- title: "Update Frequency"
33+
description: "This page is updated every 6 months by the Scala Center."
34+
dontExpand: true
35+
links: []

_includes/masthead-community.html

+51
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
<section class="nutshell">
2+
<div class="wrap">
3+
<div class="inner-box">
4+
<div class="heading-box">
5+
<h3 id="governance">Governance</h3>
6+
</div>
7+
<div class="community">
8+
<div class="scala-items-list">
9+
<div class="items-menu">
10+
{% for scalaItem in site.data.governance.cards %}
11+
{% assign loopIndexMod = forloop.index | minus: 1 | modulo: 3 %}
12+
13+
{% if loopIndexMod == 0 %}
14+
{% assign codeSnippets = '' | split: ',' %}
15+
<div class="wrap">
16+
{% endif %}
17+
18+
<!-- Show the below content only if the scalaItem.expandable either doesn't exist or is false -->
19+
{% unless scalaItem.dontExpand %}
20+
{% capture box_content %}
21+
<ul class="vertical-buttons-list">
22+
{% for link in scalaItem.links %}
23+
<li><a href="{{ link.url }}" class="button">{{ link.name }}</a></li>
24+
{% endfor %}
25+
</ul>
26+
{% endcapture %}
27+
{% assign codeSnippets = codeSnippets | push: box_content %}
28+
{% endunless %}
29+
<div class="scala-item">
30+
<h3>{{scalaItem.title}}</h3>
31+
<p>{{scalaItem.description}}</p>
32+
{% unless scalaItem.dontExpand %}
33+
<div class="button button-more">More...</div>
34+
{% endunless %}
35+
</div>
36+
{% if loopIndexMod == 2 or forloop.last %}
37+
</div>
38+
<div class="items-content">
39+
{% for snippet in codeSnippets %}
40+
<div class="items-code">{{snippet}}</div>
41+
{% endfor %}
42+
</div>
43+
{% endif %}
44+
{% endfor %}
45+
</div>
46+
</div>
47+
</div>
48+
</div>
49+
</div>
50+
</section>
51+
152
<section class="table-of-content">
253
<div class="wrap">
354
<div class="inner-box">

0 commit comments

Comments
 (0)