Skip to content

Commit

Permalink
Parse tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Sep 23, 2024
1 parent c94898d commit d880960
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 25 deletions.
3 changes: 3 additions & 0 deletions _data/credits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"#": "https://github.com/orgs/minetest/teams/engine/members",
"core_developers": [
"Perttu Ahola (celeron55) <[email protected]> [Project founder]",
"sfan5 <[email protected]>",
Expand Down Expand Up @@ -35,11 +36,13 @@
"Hugues Ross <[email protected]>",
"Dmitry Kostenko (x2048) <[email protected]>"
],
"#": "Currently only https://github.com/orgs/minetest/teams/triagers/members",
"core_team": [
"Zughy [Issue triager]",
"wsor [Issue triager]",
"Hugo Locurcio (Calinou) [Issue triager]"
],
"#": "For updating active/previous contributors, see the script in ./util/gather_git_credits.py",
"contributors": [
"cx384",
"numzero",
Expand Down
6 changes: 6 additions & 0 deletions _includes/credits_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

<ul>
{% for x in include.people %}
<li>{{ x | replace: "<", "&lt;<" | replace: ">", ">&gt;" | markdownify | replace: "[", "<span class='ml-3 has-text-grey'>[" | replace: "]", "]</span>" }}</li>
{% endfor %}
</ul>
30 changes: 5 additions & 25 deletions credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,13 @@ <h2>Core Team</h2>
</p>

<h3>Active Core Developers</h3>
<ul>
{% for x in site.data.credits.core_developers %}
<li>{{ x }}</li>
{% endfor %}
</ul>
{% include credits_list.html people=site.data.credits.core_developers %}

<h3>Active Core Team Members</h3>
<ul>
{% for x in site.data.credits.core_team %}
<li>{{ x }}</li>
{% endfor %}
</ul>
{% include credits_list.html people=site.data.credits.core_team %}

<h3>Previous Core Developers</h3>
<ul>
{% for x in site.data.credits.previous_core_developers %}
<li>{{ x }}</li>
{% endfor %}
</ul>
{% include credits_list.html people=site.data.credits.previous_core_developers %}

<hr>
<h2>Contributors</h2>
Expand All @@ -57,18 +45,10 @@ <h2>Contributors</h2>
</p>

<h3>Active</h3>
<ul>
{% for x in site.data.credits.contributors %}
<li>{{ x }}</li>
{% endfor %}
</ul>
{% include credits_list.html people=site.data.credits.contributors %}

<h3>Previous</h3>
<ul>
{% for x in site.data.credits.previous_contributors %}
<li>{{ x }}</li>
{% endfor %}
</ul>
{% include credits_list.html people=site.data.credits.previous_contributors %}

<p class="has-text-weight-bold">
More information can be found at
Expand Down

0 comments on commit d880960

Please sign in to comment.