Files
slm-design/.vitepress/config.ts
S.Gromov 4cea1007ed
All checks were successful
CI/CD Pipeline / build (push) Successful in 18s
CI/CD Pipeline / version (push) Successful in 5s
CI/CD Pipeline / docker (push) Successful in 1m28s
CI/CD Pipeline / deploy (push) Successful in 8s
docs: добавить правила монорепозиториев
- добавлен раздел о применении SLM в монорепозиториях
- обновлена навигация документации и обзор архитектуры
- обновлены сгенерированные артефакты документации
2026-05-11 15:57:29 +03:00

38 lines
1.2 KiB
TypeScript

import { defineConfig } from 'vitepress';
const sidebar = [
{
text: 'Архитектура',
items: [
{ text: 'Обзор', link: '/architecture/' },
{ text: 'Слои', link: '/architecture/layers' },
{ text: 'Модули', link: '/architecture/modules' },
{ text: 'Сегменты', link: '/architecture/segments' },
{ text: 'Монорепозитории', link: '/architecture/monorepo' },
],
},
];
export default defineConfig({
srcDir: 'docs',
srcExclude: ['public/**'],
outDir: 'public/docs',
title: 'SLM Design',
description: 'Правила и стандарты архитектуры проекта',
base: '/docs/',
cleanUrls: true,
head: [
['meta', { name: 'llms', content: '/llms.txt' }],
['link', { rel: 'alternate llms', type: 'text/plain', href: '/llms.txt', title: 'llms.txt' }],
['link', { rel: 'alternate', type: 'text/plain', href: '/llms-full.txt', title: 'llms-full.txt' }],
['link', { rel: 'alternate', type: 'text/markdown', href: '/ARCHITECTURE.md', title: 'ARCHITECTURE.md' }],
],
themeConfig: {
sidebar,
socialLinks: [
{ icon: 'github', link: 'https://gromlab.ru/gromov/slm-design' },
],
},
});