Skip to content

Commit 2b5f712

Browse files
chore: remove llms plugin
1 parent eee1a02 commit 2b5f712

File tree

4 files changed

+1
-133
lines changed

4 files changed

+1
-133
lines changed

.vitepress/config.ts

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import fs from 'fs'
22
import path from 'path'
33
import { defineConfigWithTheme, type HeadConfig, type Plugin } from 'vitepress'
44
import type { Config as ThemeConfig } from '@vue/theme'
5-
import llmstxt from 'vitepress-plugin-llms'
65
import baseConfig from '@vue/theme/config'
76
import { headerPlugin } from './headerMdPlugin'
87
// import { textAdPlugin } from './textAdMdPlugin'
@@ -815,30 +814,6 @@ export default defineConfigWithTheme<ThemeConfig>({
815814
},
816815
json: {
817816
stringify: true
818-
},
819-
plugins: [
820-
llmstxt({
821-
ignoreFiles: [
822-
'about/team/**/*',
823-
'about/team.md',
824-
'about/privacy.md',
825-
'about/coc.md',
826-
'developers/**/*',
827-
'ecosystem/themes.md',
828-
'examples/**/*',
829-
'partners/**/*',
830-
'sponsor/**/*',
831-
'index.md'
832-
],
833-
customLLMsTxtTemplate: `\
834-
# Vue.js
835-
836-
Vue.js - The Progressive JavaScript Framework
837-
838-
## Table of Contents
839-
840-
{toc}`
841-
}) as Plugin
842-
]
817+
}
843818
}
844819
})

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@types/markdown-it": "^14.1.2",
2424
"@types/node": "^22.7.5",
2525
"typescript": "^5.6.3",
26-
"vitepress-plugin-llms": "^0.0.8",
2726
"vue-tsc": "^2.1.6"
2827
},
2928
"packageManager": "[email protected]"

pnpm-lock.yaml

Lines changed: 0 additions & 101 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/_redirects

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,3 @@
6161
/v2/guide/reactivity.html /guide/extras/reactivity-in-depth.html
6262

6363
/v2/* https://v2.vuejs.org/v2/:splat?redirect=true 302
64-
65-
/*.txt /:splat.md 301
66-
/llms.md /llms.txt 301
67-
/llms.txt /llms.txt 200!
68-
/llms-full.txt /llms-full.txt 200!

0 commit comments

Comments
 (0)