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/auth', 'backend/database', 'backend/configuration', 'backend/caching', 'backend/moex-client', 'backend/tbank-invest', 'backend/securities', 'backend/portfolio', ], }, { type: 'category', label: 'Frontend', items: [ 'frontend/overview', 'frontend/routes', 'frontend/components', 'frontend/hooks', 'frontend/api-client', 'frontend/styling', ], }, { type: 'category', label: 'Инфраструктура', items: ['infrastructure/docker', 'infrastructure/ci'], }, { type: 'category', label: 'Дизайн-система', items: [ 'design-system/overview', 'design-system/foundations', 'design-system/tokens', 'design-system/components', 'design-system/patterns', 'design-system/accessibility', 'design-system/governance', ], }, { type: 'category', label: 'Разработка', items: [ 'development/commands', 'development/testing', 'development/codegen', 'development/conventions', ], }, { type: 'category', label: 'Архитектурные решения (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', 'adr/ADR-008-auth-system', 'adr/ADR-009-portfolio-domain', 'adr/ADR-010-backend-price-computation', 'adr/ADR-011-tbank-invest-grpc', 'adr/ADR-012-frontend-broker-account-aggregation', 'adr/ADR-013-frontend-fsd-broker-pilot', 'adr/ADR-014-frontend-fsd-market-pages', 'adr/ADR-015-frontend-libraries-modernization', 'adr/ADR-016-design-system', ], }, ], }; export default sidebars;