File tree Expand file tree Collapse file tree 3 files changed +95
-0
lines changed Expand file tree Collapse file tree 3 files changed +95
-0
lines changed Original file line number Diff line number Diff line change 1+ - ErikBjare
2+ - johan-bjareholt
3+ - xylix
4+ - iloveitaly
5+ - nicolae-stroncea
6+ - Otto-AA
7+ - BelKed
8+ - Alwinator
9+ - nikanar
10+ - ShootingKing-AM
11+ - codecov-io
12+ - billangli
13+ - ghost
14+ - NicoWeio
15+ - rtpHarry
16+ - dufferzafar
17+ - kewde
18+ - rakleed
19+ - 8bitgentleman
20+ - OlivierMary
21+ - modderme123
22+ - exoji2e
23+ - kovasap
24+ - watertrainer
25+ - cunidev
26+ - huantianad
27+ - lundibundi
28+ - rathishkumar
29+ - pktiuk
30+ - skewballfox
31+ - yratof
32+ - ahnlabb
33+ - pcuci
34+ - ianobermiller
35+ - michaeljelly
36+ - VictorWinberg
37+ - BeatLink
38+ - Mte90
39+ - JFMugen
40+ - vedantmgoyal2009
41+ - tmotyl
42+ - ArchaeotheriumSapienter
43+ - alexriabtsev
44+ - flexagoon
45+ - soxofaan
46+ - iconma
47+ - leoschwarz
48+ - shri120kant
49+ - Morpheus0x
50+ - the-architech
51+ - alerque
52+ - jantman
53+ - theguybieber
Original file line number Diff line number Diff line change 1616 The list is updated every 24 hours.
1717</ p >
1818
19+
20+ < style >
21+ .avatar {
22+ width : 64px ;
23+ height : 64px ;
24+ margin : 5px ;
25+ border-radius : 50% ;
26+ border : 1px solid # ddd ;
27+ }
28+ </ style >
29+ {% for contributor in site.data.contributors %}
30+ < a href ="https://github.com/{{contributor}} ">
31+ < img src ="https://github.com/{{contributor}}.png?size=64 " class ="avatar " width =64 >
32+ </ a >
33+ {% endfor %}
34+
1935< br >
2036< h3 > Visualization</ h3 >
2137< p >
Original file line number Diff line number Diff line change 1+ import re
2+ from pathlib import Path
3+
4+ script_dir = Path (__file__ ).parent
5+ root_dir = script_dir .parent
6+
7+ # regexp for github profile urls
8+ github_profile_re = re .compile (r"https://github.com/([^/\"]+)" )
9+
10+ search_file = root_dir / "_includes" / "tables" / "github-stats.html"
11+
12+ usernames = []
13+ with search_file .open () as f :
14+ for line in f :
15+ match = github_profile_re .search (line )
16+ if match :
17+ usernames .append (match .group (1 ))
18+ print (match .group (1 ))
19+
20+ print (f"Found { len (usernames )} usernames" )
21+
22+ contributors_file = root_dir / "_data" / "contributors.yml"
23+ with contributors_file .open ("w" ) as f :
24+ for username in usernames :
25+ f .write (f"- { username } \n " )
26+ print (f"Updated { contributors_file } " )
You can’t perform that action at this time.
0 commit comments