crimoo-internal-docs
Purpose and Production Relevance
crimoo-internal-docs is the internal Docusaurus documentation app for Crimoo developers. It contains architecture, service, flow, and learning documentation. The Crimoo Mastery Study Docs live here.
Production relevance: internal developer documentation app, not runtime code.
Stack and Main Dependencies
- Docusaurus.
- React.
- TypeScript.
- Mermaid support through
@docusaurus/theme-mermaid. - Markdown/MDX.
Important files and folders:
crimoo-internal-docs/docscrimoo-internal-docs/docs/learningcrimoo-internal-docs/srccrimoo-internal-docs/docusaurus.config.tscrimoo-internal-docs/sidebars.tscrimoo-internal-docs/package.json
Business Responsibilities
- Preserve internal architecture decisions.
- Document production service boundaries.
- Explain cross-service flows.
- Keep debugging and operational knowledge available.
- Provide learning material for developers and future Codex skills.
Technical Architecture and Source-Code Entry Points
The sidebar is autogenerated from the docs folder. Category metadata lives in _category_.json files. Mermaid diagrams are enabled in Docusaurus config.
This learning pack uses:
docs/learning/learning-path.mddocs/learning/project-map.mddocs/learning/business-logic.mddocs/learning/skill-consultation-index.mddocs/learning/projects/*.md
Key Data Flows and Service Integrations
No runtime product data flow. The app statically builds docs.
Documentation flow:
- Inspect code and existing docs.
- Update relevant Markdown pages.
- Run Docusaurus build.
- Fix broken links or invalid Markdown.
- Commit docs-only changes.
Environment, Deploy, and Runtime Notes
Common commands:
cd crimoo-internal-docs
npm install
npm run start
npm run build
npm run typecheck
Debugging Checklist
- If build fails, inspect Docusaurus broken-link output first.
- If Mermaid fails, check fenced code block syntax and labels.
- If sidebar ordering is wrong, check
_category_.jsonandsidebar_position. - If content duplicates another page, prefer linking to the authoritative flow/service page.
- If docs disagree with code, inspect the code and update the docs with the concrete owner/path.
Tests or Validation Commands
cd crimoo-internal-docs
npm run build
npm run typecheck
Mastery Checklist
- Add a new docs section with category metadata and stable sidebar order.
- Link across docs without creating broken Docusaurus links.
- Decide whether content belongs in internal docs, public docs, or a project README.
- Keep skill-style indexes concise and current.