Skip to content

Commit 7a35d53

Browse files
committed
docs: llms friendly text generation
1 parent 5bf1e1f commit 7a35d53

File tree

3 files changed

+481
-4
lines changed

3 files changed

+481
-4
lines changed

docs/.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
"typescript": "^5.5.3",
154154
"typescript-eslint": "^8.4.0",
155155
"vitepress": "1.5.0",
156+
"vitepress-plugin-llms": "^1.1.0",
156157
"vitest": "^2.1.5",
157158
"vue": "3.5.13",
158159
"vue-i18n": "workspace:*"

0 commit comments

Comments
 (0)