Files
docs/docs/template-sync-strategy/docs.config.ts
S.Gromov 1a14df9366 feat: добавить документацию Template Sync Strategy
- добавлены каноны и VitePress-сайт стратегии обновления шаблонов

- подключена карточка документации на главной странице

- добавлены сборочные скрипты, Caddy-маршрут и Docker-сборка

- добавлена git-иконка для карточки и сгенерированы публичные артефакты
2026-05-13 23:23:31 +03:00

65 lines
3.1 KiB
TypeScript

export const site = {
title: 'Template Sync Strategy',
description: 'Управляемое обновление проектов от шаблона',
base: '/template-sync-strategy/',
outDir: '../../public/template-sync-strategy',
};
/**
* Карта монтирования исходных канонов в VitePress-документацию.
*
* `source` указывает на markdown-файл внутри `canons/`.
* `target` задаёт путь, по которому этот файл попадёт в `docs/template-sync-strategy/content/`
* и станет страницей итоговой документации.
*/
export const mounts = [
{ target: 'index.md', source: 'template-sync-strategy/index.md' },
{ target: 'overview.md', source: 'template-sync-strategy/index.md' },
{ target: 'concepts/why.md', source: 'template-sync-strategy/concepts/why.md' },
{ target: 'concepts/model.md', source: 'template-sync-strategy/concepts/model.md' },
{ target: 'concepts/rules.md', source: 'template-sync-strategy/concepts/rules.md' },
{ target: 'setup/clean-repository.md', source: 'template-sync-strategy/setup/clean-repository.md' },
{ target: 'setup/existing-master-migration.md', source: 'template-sync-strategy/setup/existing-master-migration.md' },
{ target: 'workflows/update-template.md', source: 'template-sync-strategy/workflows/update-template.md' },
{ target: 'workflows/resolve-conflicts.md', source: 'template-sync-strategy/workflows/resolve-conflicts.md' },
{ target: 'workflows/review-and-merge.md', source: 'template-sync-strategy/workflows/review-and-merge.md' },
{ target: 'reference/cheatsheet.md', source: 'template-sync-strategy/reference/cheatsheet.md' },
{ target: 'reference/troubleshooting.md', source: 'template-sync-strategy/reference/troubleshooting.md' },
{ target: 'reference/glossary.md', source: 'template-sync-strategy/reference/glossary.md' },
];
export const sidebar = [
{
text: 'Введение',
items: [
{ text: 'Обзор', link: '/overview' },
{ text: 'Зачем это нужно', link: '/concepts/why' },
{ text: 'Модель веток', link: '/concepts/model' },
{ text: 'Правила процесса', link: '/concepts/rules' },
],
},
{
text: 'Настройка',
items: [
{ text: 'Новый проект от шаблона', link: '/setup/clean-repository' },
{ text: 'Миграция существующего master', link: '/setup/existing-master-migration' },
],
},
{
text: 'Рабочие процессы',
items: [
{ text: 'Обычное обновление шаблона', link: '/workflows/update-template' },
{ text: 'Решение конфликтов', link: '/workflows/resolve-conflicts' },
{ text: 'Review и merge', link: '/workflows/review-and-merge' },
],
},
{
text: 'Справочник',
items: [
{ text: 'Памятка', link: '/reference/cheatsheet' },
{ text: 'Troubleshooting', link: '/reference/troubleshooting' },
{ text: 'Глоссарий', link: '/reference/glossary' },
],
},
];