Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit b8538e8

Browse files
committed
update authors
1 parent ea7f3d8 commit b8538e8

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

README.md

+42-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,51 @@
77
[![Downloads](https://shields.io/github/downloads/ShaBaiTianCN/FTB-Inferno/total?label=Downloads)](https://github.com/ShaBaiTianCN/FTB-Inferno/releases)
88
[![Release](https://shields.io/github/v/release/ShaBaiTianCN/FTB-Inferno?display_name=tag&include_prereleases&label=Release)](https://github.com/ShaBaiTianCN/FTB-Inferno/releases/latest)
99

10-
## 仓库说明
10+
## 说明
1111

1212
这里是 FTB Inferno 整合包简体中文汉化仓库。
1313

14+
## 作者
15+
16+
- [Annijang](https://github.com/Annijang)
17+
- [AnzhiZhang](https://github.com/AnzhiZhang)
18+
- [BlackkkkTea](https://github.com/BlackkkkTea)
19+
- [Cactusstudent](https://github.com/Cactusstudent)
20+
- [DrunkFire](https://github.com/DrunkFire)
21+
- [EtherealSky](https://github.com/EtherealSky)
22+
- [GlassWalls0](https://github.com/GlassWalls0)
23+
- [HanemaruYuuki](https://github.com/HanemaruYuuki)
24+
- [JavaNuLi](https://github.com/JavaNuLi)
25+
- [Kanzaki-snail](https://github.com/Kanzaki-snail)
26+
- [Koguring](https://github.com/Koguring)
27+
- [LANLAN233](https://github.com/LANLAN233)
28+
- [MeMoXrisE](https://github.com/MeMoXrisE)
29+
- [NotCaiden](https://github.com/NotCaiden)
30+
- [QingjinLapis](https://github.com/QingjinLapis)
31+
- [RainCnya](https://github.com/RainCnya)
32+
- [Rasilia](https://github.com/Rasilia)
33+
- [Ricky-fight](https://github.com/Ricky-fight)
34+
- [SeeleVol](https://github.com/SeeleVol)
35+
- [Shengding0820](https://github.com/Shengding0820)
36+
- [SipengXie](https://github.com/SipengXie)
37+
- [Sylvia-10](https://github.com/Sylvia-10)
38+
- [autumn404](https://github.com/autumn404)
39+
- [consker](https://github.com/consker)
40+
- [enao2cher](https://github.com/enao2cher)
41+
- [inomo](https://github.com/inomo)
42+
- [invisibility233](https://github.com/invisibility233)
43+
- [leekinger](https://github.com/leekinger)
44+
- [lomyu](https://github.com/lomyu)
45+
- [luo-2233](https://github.com/luo-2233)
46+
- [mmoyuin](https://github.com/mmoyuin)
47+
- [moyaoneself](https://github.com/moyaoneself)
48+
- [mudapi](https://github.com/mudapi)
49+
- [nai200](https://github.com/nai200)
50+
- [winskyx](https://github.com/winskyx)
51+
- [xinyihl](https://github.com/xinyihl)
52+
53+
## 安装
54+
1455
![汉化补丁食用说明](汉化补丁食用说明.jpg)
1556

1657
## 许可

UpdateAuthors.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import re
2+
import json
3+
4+
authors_data = json.loads(input())
5+
6+
authors = [(i['author']['login'], i['author']['path']) for i in authors_data]
7+
authors.sort(key=lambda i: i[0])
8+
authors_text = ''.join([
9+
'## 作者\n\n',
10+
*[f'- [{i[0]}](https://github.com{i[1]})\n' for i in authors],
11+
'\n## 安装'
12+
])
13+
14+
with open('README.md', 'r', encoding='utf-8') as f:
15+
content = f.read()
16+
17+
with open('README.md', 'w', encoding='utf-8') as f:
18+
pattern = re.compile('## 作者.*## 安装', re.DOTALL)
19+
f.write(pattern.sub(authors_text, content))

0 commit comments

Comments
 (0)