-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M] Merge remote-tracking branch 'data/main'
- Loading branch information
Showing
436 changed files
with
5,441 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 编写原则 | ||
|
||
## 编写的原则 | ||
|
||
我们的目的是做一个小的纪念馆,而不是 wiki。因此,我们更鼓励用写作来抚慰不在世和在世的各位跨儿朋友以及我们的盟友们(allies)。无论逝者是什么性别身份,我们希望给读者看到的是,「原来,ta 们曾经是和我一样的,鲜活的生命。」因此,过于夸张或者过于冷静的描写都是需要避免的。 | ||
|
||
写作的风格比起 wiki 来说是相对自由的,但仍然需要遵守一些基本的原则,例如: | ||
- 所写内容要尽量做到真实; | ||
- 如果有大段的引用,需要标明出处; | ||
- 可以使用一些社群内,或者说「圈内」的术语,但是如果愿意的话,请尽量在第一次出现的时候加上注释。 | ||
|
||
编写逝者条目应该使用第三人称。请注意使用适当的代词,尊重逝者本人的意愿。对非二元性别者、无性别者、性别不明确者等,如无本人说明,请用「ta」作为代词(目前我们没有找到更好的中文词语来替代),或者在行文中不使用代词。 | ||
|
||
为了保护我们的读者,如果逝者是自杀离去的,请尽量淡化具体的方式。如果是采取药物的方式,不可以写出具体的药品名称或剂量。 | ||
|
||
## 收录的标准 | ||
|
||
我们纪念两类逝者: | ||
- 跨性别者、跨**性**别者、非二元性别人士、非常规性别者(transgender, transsexual, non-binary, and gender non-conforming people, 总称 TGD)。只要确认其 TGD 身份,就可以收录。不应该因为 TGD 人士的品行问题而选择拒绝收录和纪念,但可以以后人的视角在介绍中作公正的评判; | ||
- 对 TGD 社群有感情的友跨人士(allies)。这里的标准比较宽松。 | ||
|
||
我们维护了一份只有 One Among Us 在任志愿者能看到的「不愿被收录人士的名单」,一旦发现 Pull Requests 或者 Issues 中有名单内提到的人,我们会手动关闭。这份名单我们认为不应该公开查阅,但是如果有确认名单或者希望自己不被收录的需求,请发邮件到 [[email protected]](mailto:[email protected]) 联系我们。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
|
||
# How to contribute | ||
|
||
## 0. Write Commit Messages | ||
|
||
Effective Feb 20, 2023, we adopt the commit message convention as follows for all One Among Us repositories: | ||
|
||
> [*] Do something | ||
The message should be written in English. Starting with a mark symbol in square brackets and separated by a space character, the headline should be a imperative sentence describing what you do and end without punctuation marks. Detailed descriptions are not mandatory but recommended if you find it complicated. We follow the 72-column line-wrapping rule. | ||
|
||
### Marks | ||
|
||
> [+] Add | ||
> | ||
> [-] Remove | ||
> | ||
> [U] Update | ||
> | ||
> [O] Optimize | ||
> | ||
> [F] Fix | ||
> | ||
> [S] Modify style | ||
> | ||
> [M] Move (also [M] Modify by convention but [U] Modify is recommended) | ||
> | ||
> [R] Refactor | ||
> | ||
> [T] Test | ||
> | ||
> [D] Tweak documentation | ||
> | ||
> [B] Backup | ||
> | ||
> [PR] Merge commit of pull request | ||
### Examples | ||
|
||
> [+] Add entry for sauricat | ||
> | ||
> [U] Update photos for sauricat | ||
> | ||
> [F] Fix punctuation | ||
## 1. File structures | ||
|
||
* Directory `/people/<userid>/`: Data for a specific person | ||
* `info.yaml`: Profile information | ||
* `page.md`: Profile page content | ||
* `page.en.md`: English version for page content | ||
* `page.zh_hant.md`: Traditional Chinese version for page content | ||
* `photos`: Photo directory | ||
* `comments`: List of comments made by other users in the format of `yyyy-mm-dd-{name}-{id}.txt` | ||
* Directory `/data/`: Data for building | ||
* `hdata.json`: Front-end item behavior, see [HData chapter](#3-hdata) | ||
* `eggs.json`: Easter Eggs. Please contact the maintainer to add new easter egg(s). | ||
* Directory `/scripts/`: Build Scripts | ||
|
||
## 2. How to build/preview | ||
|
||
```sh | ||
# Install Dependencies | ||
yarn install | ||
|
||
# Build data | ||
yarn build | ||
|
||
# Preview Website | ||
yarn preview | ||
``` | ||
|
||
For Windows, Yarn could be find at [Classic YarnPkg](https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable). | ||
|
||
## 3. HData | ||
|
||
`/data/hdata.json` defined some data which used for entry properties. Here is some description of it: | ||
|
||
* `commentOnly`: `string[]`, the entries which include comments only, like `tdor` or `tdov` | ||
* `exclude`: `string[]`, the directories which would not be handled | ||
* `notShowOnHome`: `string[]`, if you don't want a entry show on the home, add it into this item | ||
* `actualHide`: `string[]`, if you don't want a entry show on the home and won't be redirected by random buttons, add it into this item. | ||
If you set a entry in this list, you have no need to set it into `notShowOnHome` again. | ||
* `trigger`: `string[]`, if you think this article is likely to irritate readers and should be restricted, please set this option. | ||
|
||
### Example | ||
|
||
```json | ||
{ | ||
"commentOnly": [ | ||
"tdor" | ||
], | ||
"exclude": [ | ||
"tdov" | ||
], | ||
"notShowOnHome": [ | ||
"Anilovr", | ||
"noname3031" | ||
], | ||
"actualHide": [ | ||
"ArtsEpiphany" | ||
], | ||
"trigger": [ | ||
"Xu_Yushu" | ||
] | ||
} | ||
``` | ||
|
||
## 4. MDX external features | ||
|
||
1. Both `{/*something*/}` and `<!--something-->` can be rendered as comment, will not displayed on the website; | ||
2. KaTeX formula could be used in the page. eg. $C_p=\dfrac{p-p_\infty}{\frac12\rho U_\infty^2}$ | ||
3. Footnote could be used. | ||
4. GitHub `[!Note]` mark could be used. | ||
|
||
## 5. Components | ||
|
||
* `PhotoScroll` | ||
* usage: `<PhotoScroll photos={string[]} />` | ||
* `photos`: `string[]`, the photos which this PhotoScroll will displayed | ||
* example: `<PhotoScroll photos={['${path}/photos/postcard8.jpg', '${path}/photos/postcard9.jpg', '${path}/photos/postcard10.jpg', '${path}/photos/postcard11.jpg',]} />` | ||
* `Banner` | ||
* usage: `<Banner data={{icon: string, title: string, text: string}} />` | ||
* `icon`: `string`, the url of icon. | ||
* `title`: `string`, the title of this banner. | ||
* `text`: `string`, the description of this banner. | ||
* example: `<Banner data={{icon: "https://one-among.us/favicon-large.png", title: "本条目含有大量创伤触发要素", text: "如果您在浏览逝者页面的时候产生不适,请立即退出并寻求医生和社群的帮助,必要时寻找当地自杀干预机构。"}} />` | ||
* `BlurBlock` | ||
* usage: `<BlueBlock hover?>slot</BlueBlock>` | ||
* `hover`: optional, If specified it will be displayed when the cursor is hovered, not when clicked. | ||
* `slot` html slot | ||
* example: | ||
```mdx | ||
<BlueBlock> | ||
this is an example blurred paragraph. | ||
</BlueBlock> | ||
``` | ||
* `CapDownQuote` | ||
* usage: `<CapDownQuote messages={string[][]} />` | ||
* messages: `string[][]`, the message of quote block. | ||
* example: `<blockquote><CapDownQuote messages={[["你走了呀……姊姊……”", "“这个天线的馈线那些怎么看来着?”"], ["“不上学了嘛……”", "“不是说好了下一次……”"], ["“山猫猫!抱住~”", "“她听力不太好哦……”"], ["“为什么……”", "“把我们丢在这……”"], ["“这是为了她……”", "“下一次一起打mai……”"], ["“教我开车嘛~”", "“帮我照顾好山猫猫~“"], ["“姊姊好厉害,好羡慕……”", "“又被家里人说了,公司的工作也很多……”"]]} /></blockquote>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
[ | ||
{ | ||
"type": "open", | ||
"userid": ["MeowBot233"], | ||
"id": "isSeenMeowBot233", | ||
"toast": { | ||
"title": "找到了喵~", | ||
"text": "诶? 找什么喵? ", | ||
"img": "https://data.one-among.us/img/cat-face-emoji-2048x1828.png", | ||
"width": 64, | ||
"height": 57 | ||
} | ||
}, | ||
{ | ||
"type": "open", | ||
"userid": ["Anilovr", "noname3031", "dogesir_"], | ||
"id": "Betelgeuse", | ||
"toast": { | ||
"title": "参宿四 ~Betelgeuse~", | ||
"text": "R.I.P. - Be resilient -", | ||
"img": "https://data.one-among.us/img/betelgeuse.png", | ||
"background": "url(https://data.one-among.us/img/stardust.jpg)", | ||
"width": 64, | ||
"height": 64, | ||
"color": "#f0f8ff" | ||
} | ||
}, | ||
{ | ||
"type": "open", | ||
"userid": ["xuewulihuameng", "Futajuhuacha", "Xu_Yushu", "Dethelly"], | ||
"id": "ChongQing", | ||
"toast": { | ||
"title": "嘉陵雾稠", | ||
"text": "雾终将散去, 而我们终将看到彩虹", | ||
"img": "https://data.one-among.us/img/bridge.png", | ||
"background": "url(https://data.one-among.us/img/fog.jpg)", | ||
"width": 64, | ||
"height": 47 | ||
} | ||
}, | ||
{ | ||
"type": "open", | ||
"userid": ["zhangyubaka", "Uekawakuyuurei", "MizuharaNagisa"], | ||
"id": "Boat", | ||
"toast": { | ||
"title": "海色", | ||
"text": "拔锚起航, 跨越闪耀泪光的海岸", | ||
"img": "https://data.one-among.us/img/ship.png", | ||
"background": "#0b2058ff", | ||
"width": 64, | ||
"height": 64, | ||
"color": "#f0f8feff" | ||
} | ||
}, | ||
{ | ||
"type": "tag", | ||
"userid": ["zhangyubaka"], | ||
"tag": "summary", | ||
"id": "detailsByYumao", | ||
"toast": { | ||
"title": "往昔苦难", | ||
"text": "因为妳而存在, 因为妳而不在, 要在啊......", | ||
"img": "https://data.one-among.us/img/lifeline.png", | ||
"background": "#EEEEEE88", | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
{ | ||
"type": "tag", | ||
"userid": ["mikaela_khara"], | ||
"tag": "summary", | ||
"id": "mikaela_khara_ferris", | ||
"toast": { | ||
"title": "永乐桥上的风景", | ||
"text": "连绵不断的河流,像生命本身一样无法回头……", | ||
"img": "https://data.one-among.us/img/Tientsin-Eye.png", | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
{ | ||
"type": "wait", | ||
"userid": ["shihai4h"], | ||
"wait": 20000, | ||
"id": "funeralFlowers", | ||
"toast": { | ||
"title": "葬花", | ||
"text": "花谢花飞花满天, 红消香断有谁怜? ", | ||
"img": "https://data.one-among.us/img/tumb.png", | ||
"background": "url(https://data.one-among.us/img/flower.png)", | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
{ | ||
"type": "keyword", | ||
"userid": [ | ||
"SevenBird", | ||
"Considerate_cat", | ||
"tttsuuukikoo_", | ||
"hakureico", | ||
"xixi_yuexi", | ||
"Jennife80677612" | ||
], | ||
"id": "rhythm", | ||
"keyword": [ | ||
"音游", | ||
"音遊", | ||
"Arc", | ||
"舞萌", | ||
"maimaiDX", | ||
"OSU", | ||
"ptt", | ||
"Project Sekai" | ||
], | ||
"toast": { | ||
"title": "希望有个 All Perfect 的结局", | ||
"text": " ~ All that I'm left with is your reminiscences ~ ", | ||
"img": "https://data.one-among.us/img/musical-score.png", | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
{ | ||
"type": "open", | ||
"userid": ["BI4PBV", "interrgned"], | ||
"id": "radio", | ||
"toast": { | ||
"title": "跨过空间与距离", | ||
"text": "—· · ···— · ·—· / ·—·· ——— ···— · —·· / —·—— ——— ··— / ··· ——— / —— ··— —·—· ····", | ||
"img": "https://data.one-among.us/img/radar.png", | ||
"background": "black", | ||
"width": 64, | ||
"height": 64, | ||
"color": "#f0f8feff" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"id":18214,"content":"晚安,一路走好","submitter":"某個匿名的MC玩家","date":"Oct 16, 2024"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"id":18202,"content":"Rest In Peace","submitter":"某個匿名的MC玩家","date":"Oct 12, 2024"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"id":18204,"content":"Rest In Peace","submitter":"Elizabeth","date":"Oct 13, 2024"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
id: AkiraComplex | ||
profileUrl: ${path}/photos/profile.jpg | ||
info: | ||
born: '1993-03-30' | ||
died: '2023-06-26' | ||
websites: | ||
twitter: https://twitter.com/AkiraComplex | ||
Youtube: https://www.youtube.com/channel/UCdxf3SY8xgI6x7TRTc8jxrg/featured | ||
iconify:hugeicons:soundcloud: https://soundcloud.com/akira-complex |
Oops, something went wrong.