Skip to content

Commit 21cf057

Browse files
authored
CODE: redo of community page and added advisory (pyOpenSci#92)
1 parent 95950e5 commit 21cf057

File tree

5 files changed

+127
-57
lines changed

5 files changed

+127
-57
lines changed

_data/advisory.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
- name: Tracy Teal
2+
sort: 1
3+
bio: 'Executive Director, pyOpenSci'
4+
organization: "RStudio"
5+
twitter:
6+
github_username: tracykteal
7+
github_image_id: 889238 # You can find this by right clicking on the image in your bio, and copying the link. the last part contains a 7 digit number that is your avatar image!
8+
title: "Board chair"
9+
# Editors
10+
- name: Karen Cranston
11+
sort: 2
12+
title: ""
13+
bio: ''
14+
organization: ""
15+
twitter: kcranstn
16+
github_username: kcranston
17+
github_image_id: 312034

_data/contributors.yml

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,56 @@
1-
- name: Ariane Sasso
2-
bio: 'Researcher in Medical Informatics and Digital Health'
3-
organization: "Hasso Plattner Institute"
4-
github_username: arianesasso
5-
github_image_id: 3659681
6-
contributor_type:
7-
- package-maintainer
8-
packages-editor: [""]
9-
packages-submitted: ["devicely"]
10-
packages-reviewed: [""]
1+
# Staff goes here
112
- name: Leah Wasser
3+
sort: 3
124
bio: 'Executive Director, pyOpenSci'
135
organization: "pyOpenSci"
146
github_username: lwasser
157
github_image_id: 7649194 # You can find this by right clicking on the image in your bio, and copying the link. the last part contains a 7 digit number that is your avatar image!
8+
title: "Executive Director"
169
contributor_type:
1710
- leadership
18-
- editor
11+
- current editor
1912
- package-maintainer
2013
packages-editor: ["errdapy", "pandera", "nbless"]
2114
packages-submitted: ["earthpy"]
2215
packages-reviewed: [""]
16+
# Editors
17+
- name: David Nicholson
18+
sort: 2
19+
title: "Editor in Chief"
20+
bio: ''
21+
organization: ""
22+
github_username: NickleDave
23+
github_image_id: 11934090
24+
contributor_type:
25+
- current editor
26+
- contributor
27+
packages-submitted: [""]
28+
packages-reviewed: ["pystiche"]
29+
packages-editor: [""]
30+
- name: Ivan Ogasawara
31+
sort: 1
32+
bio: 'SciPy Latin America Ambassador'
33+
organization: "SciPy Latin America, Ibis-framework"
34+
github_username: xmnlab
35+
github_image_id: 5209757
36+
title: "Editor"
37+
contributor_type:
38+
- reviewer
39+
- current-editor
40+
packages-submitted: [""]
41+
packages-reviewed: ["pandera"]
42+
packages-editor: ["sevivi"]
43+
# Reviewers & maintainers go here
44+
- name: Ariane Sasso
45+
bio: 'Researcher in Medical Informatics and Digital Health'
46+
organization: "Hasso Plattner Institute"
47+
github_username: arianesasso
48+
github_image_id: 3659681
49+
contributor_type:
50+
- package-maintainer
51+
packages-editor: [""]
52+
packages-submitted: ["devicely"]
53+
packages-reviewed: [""]
2354
- name: Chris Holdgraf
2455
bio: 'Bio Here'
2556
organization: "Berkeley Bids, Project Jupyter, Binder"
@@ -36,30 +67,17 @@
3667
organization: "Earth Lab, University of Colorado - Boulder"
3768
github_username: mbjoseph
3869
github_image_id: 2664564
39-
contributor_type:
40-
- leadership
41-
- reviewer
42-
packages-submitted: [""]
43-
packages-reviewed: ["pandera"]
44-
- name: Ivan Ogasawara
45-
bio: 'SciPy Latin America Ambassador'
46-
organization: "SciPy Latin America, Ibis-framework"
47-
github_username: xmnlab
48-
github_image_id: 5209757
4970
contributor_type:
5071
- reviewer
51-
- editor
5272
packages-submitted: [""]
5373
packages-reviewed: ["pandera"]
54-
packages-editor: ["sevivi"]
5574
- name: Luiz Irber
5675
bio: ''
5776
organization: "DIB Lab -- UC Davis"
5877
github_username: luizirber
5978
github_image_id: 6642
6079
contributor_type:
6180
- editor
62-
- leadership
6381
packages-submitted: [""]
6482
packages-reviewed: [""]
6583
packages-editor: ["earthpy"]
@@ -89,7 +107,6 @@
89107
github_username: jlpalomino
90108
github_image_id: 4017492
91109
contributor_type:
92-
- leadership
93110
- reviewer
94111
- contributor
95112
packages-editor: [""]
@@ -206,16 +223,6 @@
206223
packages-submitted: [""]
207224
packages-reviewed: ["earthpy"]
208225
packages-editor: [""]
209-
- name: David Nicholson
210-
bio: ''
211-
organization: ""
212-
github_username: NickleDave
213-
github_image_id: 11934090
214-
contributor_type:
215-
- contributor
216-
packages-submitted: [""]
217-
packages-reviewed: ["pystiche"]
218-
packages-editor: [""]
219226
- name: Anita Graser
220227
bio: ''
221228
organization: ""

_data/navigation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ main:
66
url: /blog/
77
- title: "Resources"
88
url: /resources/
9-
- title: "Contributors"
10-
url: /contributors/
9+
- title: "Our Community"
10+
url: /our-community/
1111
- title: "Get In Touch"
1212
url: /get-involved-contact/

_pages/contributors.md

Lines changed: 58 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,90 @@
11
---
2-
layout: single
3-
permalink: /contributors/
4-
title: "pyOpenSci Contributors"
2+
layout: splash
3+
permalink: /our-community/
4+
title: "The pyOpenSci Team & Contributors"
5+
excerpt: "pyOpenSci is a diverse community of people interested in building a community of practice around scientific software written in Python."
56
classes:
67
header:
78
overlay_image: images/header.jpg
89
overlay_filter: 0.6
910
---
1011

11-
## Who Is Involved with PyOpenSci?
12-
13-
pyOpenSci is a diverse community of people interested in building
14-
a community of practice around scientific software in Python.
12+
## Our pyOpenSci Community
1513

1614
{{ site.data.contributors | size }} people have contributed to pyOpenSci as
1715
of today!
1816

19-
20-
## How Can I Contribute?
17+
<!-- ## How Can I Contribute?
2118
2219
There are many different ways to get involved with pyOpenSci! Contributions
23-
of all kinds are welcome - big and small, technical and non-technical.
24-
For a few ideas of how you can get involved, see [the 'get involved' section]({% link _pages/home.md %}#get-involved).
20+
of all kinds are welcome - big and small, technical and non-technical. -->
21+
2522

2623

27-
## PyOpenSci Contributors
24+
## PyOpenSci Team & Contributors
2825

29-
Below is a relatively up-to-date list of active contributors
26+
27+
{% assign ppl_sorted = site.data.contributors | sort: 'sort' | reverse %}
3028

3129
<div class="entries-grid">
32-
{% for aperson in site.data.contributors %}
30+
{% for aperson in ppl_sorted %}
3331
<div class="grid__item">
3432
<article class="archive__item" itemscope="" itemtype="https://schema.org/CreativeWork">
35-
<!-- do we really want images? it looks nicer that is for sure
36-
i was thinking it would be nicer to have a grid that expands over time rather than a list but am option to options-->
3733
{% if aperson.github_image_id %}
38-
<div class="archive__item-teaser">
39-
<img src="https://avatars1.githubusercontent.com/u/{{ aperson.github_image_id }}?s=200&v=4" alt="">
34+
<div class="archive__item-teaser tall">
35+
<img src="https://avatars1.githubusercontent.com/u/{{ aperson.github_image_id }}?s=400&v=4" alt="">
4036
</div>
4137
{% endif %}
4238
<h4 class="archive__item-title" itemprop="headline">
4339
<a href="https://www.github.com/{{ aperson.github_username }}" rel="permalink"> {{ aperson.name }}
44-
</a>
40+
</a>
4541
</h4>
42+
<p class="page__meta">
43+
{% if aperson.title %}
44+
<span>{{ aperson.title }}</span>
45+
{% endif %}
46+
</p>
47+
<!-- Contribution types -->
48+
<p class="page__meta">
49+
<span class="page__meta-readtime">
50+
{% for atype in aperson.contributor_type %}
51+
{{ atype }} {% if forloop.last == false %}* {% endif %}
52+
{% endfor %}
53+
</span>
54+
</p>
4655
<p class="contrib_org" itemprop="organization"> {{ aperson.organization }} </p>
47-
<!--<p class="archive__item-excerpt" itemprop="description"> {{ aperson.bio }} </p>-->
56+
</article>
57+
</div>
58+
{% endfor %}
59+
</div>
60+
4861

62+
<h2 class="clearall"> External advisory committee</h2>
63+
64+
{% assign advisory_sorted = site.data.advisory | sort: 'sort' %}
65+
66+
<div class="entries-grid">
67+
{% for aperson in advisory_sorted %}
68+
<div class="grid__item">
69+
<article class="archive__item" itemscope="" itemtype="https://schema.org/CreativeWork">
70+
{% if aperson.github_image_id %}
71+
<div class="archive__item-teaser tall">
72+
<img src="https://avatars1.githubusercontent.com/u/{{ aperson.github_image_id }}?s=400&v=4" alt="">
73+
</div>
74+
{% endif %}
75+
<h4 class="archive__item-title" itemprop="headline">
76+
<a href="https://www.github.com/{{ aperson.github_username }}" rel="permalink"> {{ aperson.name }}
77+
</a>
78+
</h4>
79+
<p class="page__meta">
80+
{% if aperson.title %}
81+
<span>{{ aperson.title }}</span>
82+
{% endif %}
83+
</p>
84+
<p class="contrib_org" itemprop="organization"> {{ aperson.organization }} </p>
4985
</article>
5086
</div>
5187
{% endfor %}
5288
</div>
89+
90+

assets/css/main.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ body {font-size:90%}
7777
font-size: .92em!important;
7878
}
7979

80+
/* Fix people page - allow for tall images */
81+
.archive__item-teaser.tall {
82+
max-height: 320px!important;
83+
}
84+
85+
h2.clearall {
86+
clear: both;
87+
}
8088

8189
/* Fix buttons and text in notice boxes */
8290
.notice--info .btn.btn--info {

0 commit comments

Comments
 (0)