docs: добавить раздел архитектуры SLM
- добавлен отдельный раздел архитектуры в сайдбаре - подключены спецификация SLM и React-примеры - удалён дубль архитектуры из базовых правил
This commit is contained in:
@@ -9,21 +9,35 @@ const sidebar = [
|
||||
text: 'Подсказки',
|
||||
link: '/docs/workflow',
|
||||
},
|
||||
{
|
||||
text: 'Архитектура',
|
||||
items: [
|
||||
{
|
||||
text: 'Спецификация',
|
||||
items: [
|
||||
{ text: 'Обзор', link: '/docs/slm-design/architecture/' },
|
||||
{ text: 'Слои', link: '/docs/slm-design/architecture/layers' },
|
||||
{ text: 'Модули', link: '/docs/slm-design/architecture/modules' },
|
||||
{ text: 'Сегменты', link: '/docs/slm-design/architecture/segments' },
|
||||
{ text: 'Монорепозитории', link: '/docs/slm-design/architecture/monorepo' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Примеры',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ text: 'Создание фабрики', link: '/docs/slm-design/examples/react/factory' },
|
||||
{ text: 'Композиция фабрик', link: '/docs/slm-design/examples/react/factory-composition' },
|
||||
{ text: 'Композиция через Provider', link: '/docs/slm-design/examples/react/composition-provider' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Базовые правила',
|
||||
items: [
|
||||
{ text: 'Технологии и библиотеки', link: '/docs/basics/tech-stack' },
|
||||
{ text: 'Именование', link: '/docs/basics/naming' },
|
||||
{
|
||||
text: 'Архитектура',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ text: 'Обзор', link: '/docs/basics/architecture/' },
|
||||
{ text: 'Слои', link: '/docs/basics/architecture/layers' },
|
||||
{ text: 'Модули', link: '/docs/basics/architecture/modules' },
|
||||
{ text: 'Сегменты', link: '/docs/basics/architecture/segments' },
|
||||
],
|
||||
},
|
||||
{ text: 'Стиль кода', link: '/docs/basics/code-style' },
|
||||
{ text: 'Документирование', link: '/docs/basics/documentation' },
|
||||
{ text: 'Типизация', link: '/docs/basics/typing' },
|
||||
|
||||
Reference in New Issue
Block a user