Skip to content

Use grid of cards for team gallery #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,20 @@ prepare:
git submodule update --init
python gen_config.py

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

$(TEAMS_DIR):
mkdir -p $(TEAMS_DIR)

$(TEAMS_DIR)/%.md: $(TEAMS_DIR)
$(TEAMS_QUERY) --org numpy --team "$*" > $(TEAMS_DIR)/$*.html
$(TEAMS_DIR)/%.toml:
$(TEAMS_QUERY) --org numpy --team "$*" > $(TEAMS_DIR)/$*.toml

teams-clean: prepare
for team in $(TEAMS); do \
rm -f $(TEAMS_DIR)/$${team}.html ;\
rm -f $(TEAMS_DIR)/$${team}.toml ;\
done

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

serve: prepare ## serve the website
hugo $(BASEURLARG) --printI18nWarnings server -D
Expand Down
24 changes: 0 additions & 24 deletions content/en/teams.md

This file was deleted.

69 changes: 69 additions & 0 deletions content/en/teams/docs-team.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/4336207?u=564d623a8c9d710c3520841b83458b0bf1eae010&v=4"'
alt = 'Avatar of Rohit Goswami'
{{< /image >}}
Rohit Goswami'''
link = 'https://github.com/HaoZeke'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/43481325?u=8c0c0adbf3f2efd2cce72951d3554064c7bbfce3&v=4"'
alt = 'Avatar of Inessa Pawson'
{{< /image >}}
Inessa Pawson'''
link = 'https://github.com/InessaPawson'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/46167686?u=b5ca05a767012822d06b8bc16e3cd5ca0d1cafe9&v=4"'
alt = 'Avatar of Mars Lee'
{{< /image >}}
Mars Lee'''
link = 'https://github.com/MarsBarLee'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/823911?u=1dd52e6dcca6a7a35b6644935cdd33a6e166a596&v=4"'
alt = 'Avatar of Matti Picus'
{{< /image >}}
Matti Picus'''
link = 'https://github.com/mattip'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/3949932?u=aacac68df60d2cf64c17c7e5aa17adf8b738aa7b&v=4"'
alt = 'Avatar of Melissa Weber Mendonça'
{{< /image >}}
Melissa Weber Mendonça'''
link = 'https://github.com/melissawm'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/60316606?u=229ba03253068b0a4f206b0be08f7a9e76c832f1&v=4"'
alt = 'Avatar of Mukulika'
{{< /image >}}
Mukulika'''
link = 'https://github.com/Mukulikaa'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/1268991?u=974707b96081a9705f3a239c0773320f353ee02f&v=4"'
alt = 'Avatar of Ross Barnowski'
{{< /image >}}
Ross Barnowski'''
link = 'https://github.com/rossbar'
89 changes: 89 additions & 0 deletions content/en/teams/emeritus-maintainers.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/9040124?v=4"'
alt = 'Avatar of Allan Haldane'
{{< /image >}}
Allan Haldane'''
link = 'https://github.com/ahaldane'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/20568?v=4"'
alt = 'Avatar of Ondřej Čertík'
{{< /image >}}
Ondřej Čertík'''
link = 'https://github.com/certik'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/25111?v=4"'
alt = 'Avatar of David Cournapeau'
{{< /image >}}
David Cournapeau'''
link = 'https://github.com/cournape'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/3343990?v=4"'
alt = 'Avatar of Jaime'
{{< /image >}}
Jaime'''
link = 'https://github.com/jaimefrio'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/123428?v=4"'
alt = 'Avatar of Jarrod Millman'
{{< /image >}}
Jarrod Millman'''
link = 'https://github.com/jarrodmillman'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/542663?v=4"'
alt = 'Avatar of Julian Taylor'
{{< /image >}}
Julian Taylor'''
link = 'https://github.com/juliantaylor'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/399551?u=d4a592a0763568448a8eaa06b680ee9584a8c6e0&v=4"'
alt = 'Avatar of Mark Wiebe'
{{< /image >}}
Mark Wiebe'''
link = 'https://github.com/mwiebe'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/609896?u=935a2bf5f98be8c08d87eaac095f1f3bc3332490&v=4"'
alt = 'Avatar of Nathaniel J. Smith'
{{< /image >}}
Nathaniel J. Smith'''
link = 'https://github.com/njsmith'

[[item]]
type = 'card'
classcard = 'text-center'
body = '''{{< image >}}
src = 'https://avatars.githubusercontent.com/u/254880?v=4"'
alt = 'Avatar of Travis E. Oliphant'
{{< /image >}}
Travis E. Oliphant'''
link = 'https://github.com/teoliphant'
36 changes: 36 additions & 0 deletions content/en/teams/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: NumPy Teams
sidebar: false
---

We are an international team on a mission to support scientific and research
communities worldwide by building quality, open-source software.
[Join us]({{< relref "/contribute" >}})!

### Maintainers

{{< grid1 file="maintainers.toml" columns="2 3 4 5" />}}

### Docs team

{{< grid1 file="docs-team.toml" columns="2 3 4 5" />}}

### Web team

{{< grid1 file="web-team.toml" columns="2 3 4 5" />}}

### Triage team

{{< grid1 file="triage-team.toml" columns="2 3 4 5" />}}

### Survey team

{{< grid1 file="survey-team.toml" columns="2 3 4 5" />}}

### Emeritus maintainers

{{< grid1 file="emeritus-maintainers.toml" columns="2 3 4 5" />}}

# Governance

For the list of the Steering Council members, please see [here](https://numpy.org/about/).
Loading