Skip to content

Commit 9297cec

Browse files
committed
Use grid of cards for team gallery
1 parent cae7698 commit 9297cec

19 files changed

+939
-999
lines changed

Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,20 @@ prepare:
1818
git submodule update --init
1919
python gen_config.py
2020

21-
TEAMS_DIR = static/gallery
21+
# All translations share the <team>.toml files in the en translation
22+
TEAMS_DIR = content/en/teams
2223
TEAMS = emeritus-maintainers maintainers docs-team triage-team survey-team web-team
2324
TEAMS_QUERY = python themes/scientific-python-hugo-theme/tools/team_query.py
2425

25-
$(TEAMS_DIR):
26-
mkdir -p $(TEAMS_DIR)
27-
28-
$(TEAMS_DIR)/%.md: $(TEAMS_DIR)
29-
$(TEAMS_QUERY) --org numpy --team "$*" > $(TEAMS_DIR)/$*.html
26+
$(TEAMS_DIR)/%.toml:
27+
$(TEAMS_QUERY) --org numpy --team "$*" > $(TEAMS_DIR)/$*.toml
3028

3129
teams-clean: prepare
3230
for team in $(TEAMS); do \
33-
rm -f $(TEAMS_DIR)/$${team}.html ;\
31+
rm -f $(TEAMS_DIR)/$${team}.toml ;\
3432
done
3533

36-
teams: | teams-clean $(patsubst %,$(TEAMS_DIR)/%.md,$(TEAMS)) ## generates numpy.org team gallery pages
34+
teams: | teams-clean $(patsubst %,$(TEAMS_DIR)/%.toml,$(TEAMS)) ## generates numpy.org team gallery pages
3735

3836
serve: prepare ## serve the website
3937
hugo $(BASEURLARG) --printI18nWarnings server -D

content/en/teams.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/en/teams/docs-team.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[[item]]
2+
type = 'card'
3+
classcard = 'text-center'
4+
body = '''{{< image >}}
5+
src = 'https://avatars.githubusercontent.com/u/4336207?u=564d623a8c9d710c3520841b83458b0bf1eae010&v=4"'
6+
alt = 'Avatar of Rohit Goswami'
7+
{{< /image >}}
8+
Rohit Goswami'''
9+
link = 'https://github.com/HaoZeke'
10+
11+
[[item]]
12+
type = 'card'
13+
classcard = 'text-center'
14+
body = '''{{< image >}}
15+
src = 'https://avatars.githubusercontent.com/u/43481325?u=8c0c0adbf3f2efd2cce72951d3554064c7bbfce3&v=4"'
16+
alt = 'Avatar of Inessa Pawson'
17+
{{< /image >}}
18+
Inessa Pawson'''
19+
link = 'https://github.com/InessaPawson'
20+
21+
[[item]]
22+
type = 'card'
23+
classcard = 'text-center'
24+
body = '''{{< image >}}
25+
src = 'https://avatars.githubusercontent.com/u/46167686?u=b5ca05a767012822d06b8bc16e3cd5ca0d1cafe9&v=4"'
26+
alt = 'Avatar of Mars Lee'
27+
{{< /image >}}
28+
Mars Lee'''
29+
link = 'https://github.com/MarsBarLee'
30+
31+
[[item]]
32+
type = 'card'
33+
classcard = 'text-center'
34+
body = '''{{< image >}}
35+
src = 'https://avatars.githubusercontent.com/u/823911?u=1dd52e6dcca6a7a35b6644935cdd33a6e166a596&v=4"'
36+
alt = 'Avatar of Matti Picus'
37+
{{< /image >}}
38+
Matti Picus'''
39+
link = 'https://github.com/mattip'
40+
41+
[[item]]
42+
type = 'card'
43+
classcard = 'text-center'
44+
body = '''{{< image >}}
45+
src = 'https://avatars.githubusercontent.com/u/3949932?u=aacac68df60d2cf64c17c7e5aa17adf8b738aa7b&v=4"'
46+
alt = 'Avatar of Melissa Weber Mendonça'
47+
{{< /image >}}
48+
Melissa Weber Mendonça'''
49+
link = 'https://github.com/melissawm'
50+
51+
[[item]]
52+
type = 'card'
53+
classcard = 'text-center'
54+
body = '''{{< image >}}
55+
src = 'https://avatars.githubusercontent.com/u/60316606?u=229ba03253068b0a4f206b0be08f7a9e76c832f1&v=4"'
56+
alt = 'Avatar of Mukulika'
57+
{{< /image >}}
58+
Mukulika'''
59+
link = 'https://github.com/Mukulikaa'
60+
61+
[[item]]
62+
type = 'card'
63+
classcard = 'text-center'
64+
body = '''{{< image >}}
65+
src = 'https://avatars.githubusercontent.com/u/1268991?u=974707b96081a9705f3a239c0773320f353ee02f&v=4"'
66+
alt = 'Avatar of Ross Barnowski'
67+
{{< /image >}}
68+
Ross Barnowski'''
69+
link = 'https://github.com/rossbar'
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[[item]]
2+
type = 'card'
3+
classcard = 'text-center'
4+
body = '''{{< image >}}
5+
src = 'https://avatars.githubusercontent.com/u/9040124?v=4"'
6+
alt = 'Avatar of Allan Haldane'
7+
{{< /image >}}
8+
Allan Haldane'''
9+
link = 'https://github.com/ahaldane'
10+
11+
[[item]]
12+
type = 'card'
13+
classcard = 'text-center'
14+
body = '''{{< image >}}
15+
src = 'https://avatars.githubusercontent.com/u/20568?v=4"'
16+
alt = 'Avatar of Ondřej Čertík'
17+
{{< /image >}}
18+
Ondřej Čertík'''
19+
link = 'https://github.com/certik'
20+
21+
[[item]]
22+
type = 'card'
23+
classcard = 'text-center'
24+
body = '''{{< image >}}
25+
src = 'https://avatars.githubusercontent.com/u/25111?v=4"'
26+
alt = 'Avatar of David Cournapeau'
27+
{{< /image >}}
28+
David Cournapeau'''
29+
link = 'https://github.com/cournape'
30+
31+
[[item]]
32+
type = 'card'
33+
classcard = 'text-center'
34+
body = '''{{< image >}}
35+
src = 'https://avatars.githubusercontent.com/u/3343990?v=4"'
36+
alt = 'Avatar of Jaime'
37+
{{< /image >}}
38+
Jaime'''
39+
link = 'https://github.com/jaimefrio'
40+
41+
[[item]]
42+
type = 'card'
43+
classcard = 'text-center'
44+
body = '''{{< image >}}
45+
src = 'https://avatars.githubusercontent.com/u/123428?v=4"'
46+
alt = 'Avatar of Jarrod Millman'
47+
{{< /image >}}
48+
Jarrod Millman'''
49+
link = 'https://github.com/jarrodmillman'
50+
51+
[[item]]
52+
type = 'card'
53+
classcard = 'text-center'
54+
body = '''{{< image >}}
55+
src = 'https://avatars.githubusercontent.com/u/542663?v=4"'
56+
alt = 'Avatar of Julian Taylor'
57+
{{< /image >}}
58+
Julian Taylor'''
59+
link = 'https://github.com/juliantaylor'
60+
61+
[[item]]
62+
type = 'card'
63+
classcard = 'text-center'
64+
body = '''{{< image >}}
65+
src = 'https://avatars.githubusercontent.com/u/399551?u=d4a592a0763568448a8eaa06b680ee9584a8c6e0&v=4"'
66+
alt = 'Avatar of Mark Wiebe'
67+
{{< /image >}}
68+
Mark Wiebe'''
69+
link = 'https://github.com/mwiebe'
70+
71+
[[item]]
72+
type = 'card'
73+
classcard = 'text-center'
74+
body = '''{{< image >}}
75+
src = 'https://avatars.githubusercontent.com/u/609896?u=935a2bf5f98be8c08d87eaac095f1f3bc3332490&v=4"'
76+
alt = 'Avatar of Nathaniel J. Smith'
77+
{{< /image >}}
78+
Nathaniel J. Smith'''
79+
link = 'https://github.com/njsmith'
80+
81+
[[item]]
82+
type = 'card'
83+
classcard = 'text-center'
84+
body = '''{{< image >}}
85+
src = 'https://avatars.githubusercontent.com/u/254880?v=4"'
86+
alt = 'Avatar of Travis E. Oliphant'
87+
{{< /image >}}
88+
Travis E. Oliphant'''
89+
link = 'https://github.com/teoliphant'

content/en/teams/index.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: NumPy Teams
3+
sidebar: false
4+
---
5+
6+
We are an international team on a mission to support scientific and research
7+
communities worldwide by building quality, open-source software.
8+
[Join us]({{< relref "/contribute" >}})!
9+
10+
### Maintainers
11+
12+
{{< grid1 file="maintainers.toml" columns="2 3 4 5" />}}
13+
14+
### Docs team
15+
16+
{{< grid1 file="docs-team.toml" columns="2 3 4 5" />}}
17+
18+
### Web team
19+
20+
{{< grid1 file="web-team.toml" columns="2 3 4 5" />}}
21+
22+
### Triage team
23+
24+
{{< grid1 file="triage-team.toml" columns="2 3 4 5" />}}
25+
26+
### Survey team
27+
28+
{{< grid1 file="survey-team.toml" columns="2 3 4 5" />}}
29+
30+
### Emeritus maintainers
31+
32+
{{< grid1 file="emeritus-maintainers.toml" columns="2 3 4 5" />}}
33+
34+
# Governance
35+
36+
For the list of the Steering Council members, please see [here](https://numpy.org/about/).

0 commit comments

Comments
 (0)