moex-vibe/apps/docs/sidebars.ts
Sergey Krylov aac5b2f873
All checks were successful
CI / lint (pull_request) Successful in 1m32s
CI / test (pull_request) Successful in 1m23s
CI / build (pull_request) Successful in 1m27s
CI / lint (push) Successful in 1m16s
CI / test (push) Successful in 1m23s
CI / build (push) Successful in 1m32s
docs: add Docusaurus documentation site as npm workspace
- Create apps/docs/ with Docusaurus 3.7.0
- Add documentation: architecture, backend, frontend, infrastructure, development, ADR
- Include 5 Mermaid diagrams (system architecture, request flow, modules, caching, deployment)
- Configure as npm workspace with dev:docs/build:docs scripts
- Copy existing ADR documents from docs/architecture/adr/
2026-06-13 21:37:10 +03:00

65 lines
1.5 KiB
TypeScript

import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
'getting-started',
'architecture',
{
type: 'category',
label: 'Backend',
items: [
'backend/overview',
'backend/modules',
'backend/api',
'backend/configuration',
'backend/caching',
'backend/moex-client',
],
},
{
type: 'category',
label: 'Frontend',
items: [
'frontend/overview',
'frontend/routes',
'frontend/components',
'frontend/hooks',
'frontend/api-client',
'frontend/styling',
],
},
{
type: 'category',
label: 'Infrastructure',
items: ['infrastructure/docker', 'infrastructure/ci'],
},
{
type: 'category',
label: 'Development',
items: [
'development/commands',
'development/testing',
'development/codegen',
'development/conventions',
],
},
{
type: 'category',
label: 'Architecture Decisions (ADR)',
items: [
'adr/index',
'adr/ADR-001-backend-single-point-of-access',
'adr/ADR-002-in-memory-cache',
'adr/ADR-003-rate-limiting-strategy',
'adr/ADR-004-feature-modules',
'adr/ADR-005-openapi-codegen-frontend',
'adr/ADR-006-no-cci',
'adr/ADR-007-two-level-caching',
],
},
],
};
export default sidebars;