mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-31 16:33:34 +08:00
889 B
889 B
React Site Instructions
These rules apply to the public landing page and documentation experience under site/.
- Keep the site independently installable with
npm ciand buildable withnpm run build. - Keep
npm run checkdeterministic, offline, and responsible for site-specific validation beyond compilation. - Preserve the GitHub Pages custom-domain contract; production assets and routes must work from the root of
claudecode-haha.relakkesyang.org. - Treat files under
docs/as the source of truth for long-form Chinese and English documentation. Keep paired public routes aligned when both languages exist. - Do not copy private user state, credentials, local filesystem paths, or unredacted product screenshots into the site.
- Run
bun run check:docsafter site or docs changes and include desktop plus narrow-mobile browser evidence for user-visible layout changes.