你应该和用户说中文
Welcome! This repository hosts the Involution Hell documentation site, built with Next.js App Router, Fumadocs UI, TypeScript, and Tailwind CSS. Follow the instructions below whenever you contribute changes.
- Prefer
pnpmfor all Node.js commands (pnpm install,pnpm dev,pnpm build, etc.). - Keep changes focused and provide helpful descriptions in commits and PR messages.
- When adding dependencies, ensure they are compatible with Node.js 18+.
- Follow existing patterns in the codebase; align new components with the established structure under
app/andcomponents/. - Use TypeScript (
.ts/.tsx) and Tailwind CSS utility classes for styling unless a file already uses a different approach. - Avoid unnecessary abstractions; keep components small, composable, and accessible.
- Do not wrap imports in
try/catchblocks.
- All documentation lives under
app/docs/(folder-as-book). Each Markdown/MDX file must retain a frontmatter block with at least atitle. - Place images referenced by a document inside the document’s sibling
*.assets/folder. Use the provided image migration scripts if needed. - Prefer relative links within the docs unless cross-referencing an external resource.
- Run relevant scripts before submitting changes. Common checks include:
pnpm devfor local verification.pnpm buildfor production validation when you touch runtime logic.pnpm lint:imageswhen you add or move media assets.
- Summarize user-facing changes clearly.
- Mention any new scripts, configuration, or docs that reviewers should be aware of.
For additional details, consult README.md and CONTRIBUTING.md.