Files
frontend-style-guide/.vitepress/config.ts
S.Gromov d1af4619f7
Some checks are pending
CI/CD Pipeline / docker (push) Waiting to run
CI/CD Pipeline / deploy (push) Blocked by required conditions
sync
2026-03-18 09:22:03 +03:00

40 lines
1.8 KiB
TypeScript

import { defineConfig } from 'vitepress';
export default defineConfig({
lang: 'ru-RU',
title: 'Frontend Style Guide',
description: 'Правила и стандарты разработки фронтенд-проектов на React/NextJS и TypeScript',
themeConfig: {
siteTitle: 'Frontend Style Guide',
sidebar: [
{
text: 'Базовые правила',
items: [
{ text: 'Технологии и библиотеки', link: '/parts/1-tech-stack' },
{ text: 'Архитектура', link: '/parts/2-architecture' },
{ text: 'Стиль кода', link: '/parts/3-code-style' },
{ text: 'Именование', link: '/parts/4-naming' },
{ text: 'Документирование', link: '/parts/5-documentation' },
{ text: 'Типизация', link: '/parts/6-typing' },
],
},
{
text: 'Прикладные разделы',
items: [
{ text: 'Структура проекта', link: '/parts/7-project-structure' },
{ text: 'Компоненты', link: '/parts/8-0-components' },
{ text: 'Шаблоны и генерация кода', link: '/parts/8-1-templates-generation' },
{ text: 'Стили', link: '/parts/9-styles' },
{ text: 'Изображения/спрайты', link: '/parts/10-images-sprites' },
{ text: 'Видео', link: '/parts/11-video' },
{ text: 'API', link: '/parts/12-api' },
{ text: 'Stores', link: '/parts/13-stores' },
{ text: 'Хуки', link: '/parts/14-hooks' },
{ text: 'Шрифты', link: '/parts/15-fonts' },
{ text: 'Локализация', link: '/parts/16-localization' },
],
},
],
},
});