From 707ba3b02379ff9648c21d58cd58e675d3959b73 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 23 Sep 2024 20:03:43 +0100 Subject: [PATCH] Parse tags --- _data/credits.json | 3 +++ _includes/credits_list.html | 6 ++++++ credits.html | 30 +++++------------------------- 3 files changed, 14 insertions(+), 25 deletions(-) create mode 100644 _includes/credits_list.html diff --git a/_data/credits.json b/_data/credits.json index bfb1336..261cf54 100644 --- a/_data/credits.json +++ b/_data/credits.json @@ -1,4 +1,5 @@ { + "#": "https://github.com/orgs/minetest/teams/engine/members", "core_developers": [ "Perttu Ahola (celeron55) [Project founder]", "sfan5 ", @@ -35,11 +36,13 @@ "Hugues Ross ", "Dmitry Kostenko (x2048) " ], + "#": "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", diff --git a/_includes/credits_list.html b/_includes/credits_list.html new file mode 100644 index 0000000..1ccfe94 --- /dev/null +++ b/_includes/credits_list.html @@ -0,0 +1,6 @@ + +
    + {% for x in include.people %} +
  • {{ x | replace: "<", "<<" | replace: ">", ">>" | markdownify | replace: "[", "[" | replace: "]", "]" }}
  • + {% endfor %} +
diff --git a/credits.html b/credits.html index 993ef92..6e81c06 100644 --- a/credits.html +++ b/credits.html @@ -27,25 +27,13 @@

Core Team

Active Core Developers

-
    - {% for x in site.data.credits.core_developers %} -
  • {{ x }}
  • - {% endfor %} -
+ {% include credits_list.html people=site.data.credits.core_developers %}

Active Core Team Members

-
    - {% for x in site.data.credits.core_team %} -
  • {{ x }}
  • - {% endfor %} -
+ {% include credits_list.html people=site.data.credits.core_team %}

Previous Core Developers

-
    - {% for x in site.data.credits.previous_core_developers %} -
  • {{ x }}
  • - {% endfor %} -
+ {% include credits_list.html people=site.data.credits.previous_core_developers %}

Contributors

@@ -57,18 +45,10 @@

Contributors

Active

-
    - {% for x in site.data.credits.contributors %} -
  • {{ x }}
  • - {% endfor %} -
+ {% include credits_list.html people=site.data.credits.contributors %}

Previous

-
    - {% for x in site.data.credits.previous_contributors %} -
  • {{ x }}
  • - {% endfor %} -
+ {% include credits_list.html people=site.data.credits.previous_contributors %}

More information can be found at