1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-15 07:44:52 +08:00
Data repo for one-among.us
Go to file
Elihuso Quigley 874b37bef6
[U] Update One Among Us Entries (#279)
优化
- 在岁月的英文条目中,特殊引用现在能有一定押韵了。
- 在 Yuki- 小雪的英文条目中,部分语言现在连贯性更好一些了。
- 在彩蛋模式下,天津之眼不再用西雅图摩天轮代替了。

修复:
- 在 Rentable 英文条目中,部分内容不再和中文原文有意思差别了,并修复了一些遗留的现在时-过去式问题。
- 在 lxyddice 的英文条目中,lxy 和 零下一度的冰晶的关系现在是 a.k.a 了。
- 无辜的路灯公司现在不会签约租车合同了,让我们把资本家吊在路灯上。
2024-11-10 05:11:20 -08:00
.github/workflows [F] Restore GitHub branch deploy 2023-01-21 12:20:25 +08:00
data [U] Update One Among Us data 2024-11-10 18:14:32 +08:00
people [U] Update One Among Us Entries (#279) 2024-11-10 05:11:20 -08:00
public [-] Delete image ferris-wheel 2024-11-10 20:32:25 +08:00
scripts [+] build eggs 2024-10-25 08:27:07 +08:00
.gitattributes [O] Auto LF ending 2022-06-24 14:22:56 -04:00
.gitignore [U] Update C17234 2024-06-16 17:28:29 +08:00
info-i18n.yml [F] Fix info i18n mismatch between web and data 2023-07-15 08:33:29 +08:00
netlify.toml [U] Change netlify to build preview 2023-01-06 01:27:59 -05:00
package.json [+] support katex 2024-06-18 20:52:41 +08:00
README.md [-] remove tagged data in readme 2024-07-14 22:24:19 +08:00
tsconfig.json [+] Add yarn subcommands 2023-01-06 01:27:18 -05:00
yarn.lock [+] support katex 2024-06-18 20:52:41 +08:00

Our Data

这里存了 One Among Us 的条目,欢迎贡献!

在贡献之前请阅读我们的 文档和贡献指南

Please read our How-We-Work before contributing.

GitHub Repo 结构

  • data - 条目内容存储
  • web - 网页前端源码
  • backend - 献花和编辑后端源码

File Structure

  • Directory /people/<userid>/: Data for a specific person

    • info.json5: Profile information
    • page.md: Profile page content
    • photos: Photo directory
    • comments: List of comments made by other users in the format of yyyy-mm-dd-{name}-{id}.txt
  • Branch gh-pages: Data that's automatically generated by Github Actions

    • people-list.json: A list of all people currently in the repository
    • Directory /people/<userid>/: Built data for a specific person
      • page.js: page.md built with MDX

Multilingual

We are trying to rewrite the multilingual architecture of the website to make it more versatile and more concise in an updated way. During this transitional period, please try your best to use Simplified Chinese as the manuscript, and use automatic conversion or manual proofreading to generate the Traditional Chinese manuscript. After the new multilingual architecture is written, we will re-proofread all Traditional Chinese manuscripts.

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

{
    "commentOnly": [
        "tdor"
    ],
    "exclude": [
        "tdov"
    ],
    "notShowOnHome": [
        "Anilovr",
        "noname3031"
    ],
    "actualHide": [
        "ArtsEpiphany"
    ],
    "trigger": [
        "Xu_Yushu"
    ]
}

If you dont understand how to modify it, please feel free to Contact Us.