- перенесены каноны и VitePress-конфиги в projects/<slug> - добавлены корневой и проектные build.ts для сборки артефактов - добавлены shared-библиотеки сборки в projects/_shared/lib - обновлены CI, Dockerfile, package.json, gitignore и README - удалена сборка frontend-агента
28 lines
622 B
TypeScript
28 lines
622 B
TypeScript
import { defineConfig } from 'vitepress';
|
|
import taskLists from 'markdown-it-task-lists';
|
|
import llmstxt from 'vitepress-plugin-llms';
|
|
import { themeSyncHead } from '../../../_shared/docs/vitepress/themeHead';
|
|
import { sidebar, site } from '../docs.config';
|
|
|
|
export default defineConfig({
|
|
title: site.title,
|
|
description: site.description,
|
|
base: site.base,
|
|
outDir: site.outDir,
|
|
srcDir: 'content',
|
|
cleanUrls: true,
|
|
head: [...themeSyncHead],
|
|
vite: {
|
|
plugins: [llmstxt()],
|
|
},
|
|
markdown: {
|
|
config(md) {
|
|
md.use(taskLists);
|
|
},
|
|
},
|
|
themeConfig: {
|
|
sidebar,
|
|
socialLinks: [],
|
|
},
|
|
});
|