- добавлены HTML-подсказки для обнаружения llms.txt агентами - обновлена карточка скачивания спецификации и архива - добавлен раздел с порядком чтения спецификации - исправлена генерация ссылок для single-file, Markdown и ZIP - обновлены сгенерированные README.md и ARCHITECTURE.md
37 lines
1.1 KiB
TypeScript
37 lines
1.1 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' },
|
|
],
|
|
},
|
|
];
|
|
|
|
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' },
|
|
],
|
|
},
|
|
});
|