Add TypeDoc configuration, architecture diagram, and generated API docs

- TypeDoc config covering all source modules (domain, contracts, hopper,
  application, server, CLI, config)
- Mermaid architecture diagram showing layered dependency flow
- Generated API documentation in docs/api/
- Update AGENTS.md with architecture diagram link, oxlint commands,
  code quality tool docs, and pre-commit hook instructions
This commit is contained in:
morluto
2026-07-12 10:14:56 +08:00
parent 7e961eb0ea
commit b0e06dc307
122 changed files with 8006 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
:root {
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}
@media (prefers-color-scheme: light) { :root {
--code-background: var(--light-code-background);
} }
@media (prefers-color-scheme: dark) { :root {
--code-background: var(--dark-code-background);
} }
:root[data-theme='light'] {
--code-background: var(--light-code-background);
}
:root[data-theme='dark'] {
--code-background: var(--dark-code-background);
}
pre, code, math[display='block'] { background: var(--code-background); }