Skip to content

Commit 2e04bed

Browse files
authored
docs: llms frindly (#2168)
1 parent e9c654b commit 2e04bed

File tree

3 files changed

+494
-345
lines changed

3 files changed

+494
-345
lines changed

docs/.vitepress/config.mts

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { HeadConfig } from 'vitepress'
22
import { defineConfig } from 'vitepress'
3+
import llmstxt from 'vitepress-plugin-llms'
34

45
const head: HeadConfig[] = [['link', { rel: 'icon', href: '/vue-i18n-logo.png' }]]
56

@@ -13,6 +14,10 @@ export default defineConfig({
1314

1415
markdown: { attrs: { disable: true } },
1516

17+
vite: {
18+
plugins: [llmstxt()]
19+
},
20+
1621
themeConfig: {
1722
logo: '/vue-i18n-logo.svg',
1823

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159
"typescript": "^5.6.3",
160160
"typescript-eslint": "^8.4.0",
161161
"vitepress": "1.6.3",
162+
"vitepress-plugin-llms": "^1.1.0",
162163
"vitest": "^2.1.5",
163164
"vue": "3.5.13",
164165
"vue-i18n": "workspace:*"

0 commit comments

Comments
 (0)