docs: описать mounts SLM Design
- добавлено пояснение назначения массива mounts - сохранено компактное форматирование карты монтирования
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user