docs: описать mounts SLM Design
All checks were successful
CI/CD Pipeline / build (push) Successful in 23s
CI/CD Pipeline / docker (push) Successful in 50s
CI/CD Pipeline / deploy (push) Successful in 7s

- добавлено пояснение назначения массива mounts
- сохранено компактное форматирование карты монтирования
This commit is contained in:
2026-05-13 10:24:28 +03:00
parent a9e18f9269
commit 8f49e8c48b

View File

@@ -5,43 +5,23 @@ export const site = {
outDir: '../../public/slm-design', outDir: '../../public/slm-design',
}; };
/**
* Карта монтирования исходных канонов в VitePress-документацию.
*
* `source` указывает на markdown-файл внутри `canons/`.
* `target` задаёт путь, по которому этот файл попадёт в `docs/slm-design/content/`
* и станет страницей итоговой документации.
*/
export const mounts = [ export const mounts = [
{ { target: 'index.md', source: 'slm-design/architecture/index.md' },
source: 'slm-design/architecture/index.md', { target: 'architecture/index.md', source: 'slm-design/architecture/index.md' },
target: 'index.md', { target: 'architecture/layers.md', source: 'slm-design/architecture/layers.md' },
}, { target: 'architecture/modules.md', source: 'slm-design/architecture/modules.md' },
{ { target: 'architecture/segments.md', source: 'slm-design/architecture/segments.md' },
source: 'slm-design/architecture/index.md', { target: 'architecture/monorepo.md', source: 'slm-design/architecture/monorepo.md' },
target: 'architecture/index.md', { target: 'examples/react/factory.md', source: 'slm-design/examples/react/factory.md' },
}, { target: 'examples/react/factory-composition.md', source: 'slm-design/examples/react/factory-composition.md' },
{ { target: 'examples/react/composition-provider.md', source: 'slm-design/examples/react/composition-provider.md' },
source: 'slm-design/architecture/layers.md',
target: 'architecture/layers.md',
},
{
source: 'slm-design/architecture/modules.md',
target: 'architecture/modules.md',
},
{
source: 'slm-design/architecture/segments.md',
target: 'architecture/segments.md',
},
{
source: 'slm-design/architecture/monorepo.md',
target: 'architecture/monorepo.md',
},
{
source: 'slm-design/examples/react/factory.md',
target: 'examples/react/factory.md',
},
{
source: 'slm-design/examples/react/factory-composition.md',
target: 'examples/react/factory-composition.md',
},
{
source: 'slm-design/examples/react/composition-provider.md',
target: 'examples/react/composition-provider.md',
},
]; ];
export const sidebar = [ export const sidebar = [