This repository contains the website, documentation, blog posts, and static assets for yeecord.com
- Read the page you plan to change and its matching Simplified Chinese version
- Check the bot repository when a command, permission, or user flow is involved
- Keep one source of truth for each instruction. Link to a focused page instead of copying the same explanation
Each documentation page should answer one reader question
For an operation page, use this order:
- State what the feature does and show the main command
- List required permissions with
<CommandHeader /> - Explain the first useful action
- Cover editing, daily management, and results only when they apply
- Link to a related page or troubleshooting step when it unblocks the reader
Use headings for tasks, tables for fixed options, and MDX demos when an interaction needs to be shown. Do not open with marketing copy or repeat the page title in a paragraph.
Traditional Chinese is the source document. Add the Simplified Chinese version with a .zh-cn.mdx suffix.
Add new pages to both meta.json and meta.zh-cn.json. Relative links such as ./form.mdx stay in the current locale. Absolute documentation links must include the locale prefix:
/zh-tw/docs/commands/form
/zh-cn/docs/commands/formDo not link to /docs/.... That route does not exist in the static site.
- Use short, concrete sentences
- Chinese UI and docs copy does not use full stops
- Split a long sentence into paragraphs or a list instead of adding semicolons
- Do not use promotional claims, filler, or unexplained jargon
- Keep command names, permissions, and limits exactly aligned with the bot
Run these commands before opening a pull request:
bun run typecheck
bun run buildtypecheck catches MDX and TypeScript errors. build verifies static routes, so run it after changing a link, page path, or locale.