Skip to content

Commit 7457788

Browse files
committed
feat(website): Add llms.txt support
1 parent 3b10560 commit 7457788

File tree

3 files changed

+349
-3
lines changed

3 files changed

+349
-3
lines changed

website/client/.vitepress/config/configShard.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { configJaSearch } from './configJa';
77
import { configKoSearch } from './configKo';
88
import { configPtBrSearch } from './configPtBr';
99
import { configZhCnSearch } from './configZhCn';
10+
import llmstxt from 'vitepress-plugin-llms'
1011

1112
const googleAnalyticsTag = 'G-7PTT4PLC69';
1213

@@ -43,6 +44,10 @@ export const configShard = defineConfig({
4344

4445
srcDir: 'src',
4546

47+
vite: {
48+
plugins: [llmstxt()]
49+
},
50+
4651
rewrites: {
4752
// rewrite to `en` locale
4853
'en/:rest*': ':rest*',

0 commit comments

Comments
 (0)