73a2d72600
- 尝试修复语言歧义 |
||
---|---|---|
.github/workflows | ||
data | ||
people | ||
public | ||
scripts | ||
.gitattributes | ||
.gitignore | ||
info-i18n.yml | ||
netlify.toml | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Our Data
这里存了 One Among Us 的条目,欢迎贡献!
在贡献之前请阅读我们的 文档和贡献指南。
Please read our How-We-Work before contributing.
GitHub Repo 结构
File Structure
-
Directory
/people/<userid>/
: Data for a specific personinfo.json5
: Profile informationpage.md
: Profile page contentphotos
: Photo directorycomments
: List of comments made by other users in the format ofyyyy-mm-dd-{name}-{id}.txt
-
Branch
gh-pages
: Data that's automatically generated by Github Actionspeople-list.json
: A list of all people currently in the repository- Directory
/people/<userid>/
: Built data for a specific personpage.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, liketdor
ortdov
exclude
:string[]
, the directories which would not be handlednotShowOnHome
:string[]
, if you don't want a entry show on the home, add it into this itemactualHide
: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 intonotShowOnHome
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 don’t understand how to modify it, please feel free to Contact Us.
Banner and other tagged data
Markup data such as banner can be used in documents. The format is as follows:
[[ {/*JSON*/} ]]
The internal JSON schema is as follows:
type
: The type of tagged data, can bebanner
icon
: The url of the icon. svg cannot be used.title
: Title of item.text
: Text of item.
Example
[[ {"type":"banner", "icon":"https://one-among.us/favicon-large.png","title":"Some content of this entry doesn’t correspond to fact","text":"You are probably keeping track of an ongoing event, if you feel uncomfortable or stressed, we suggest that you pause browsing the relevant topics."} ]]