Skip to content

Commit edd907a

Browse files
authored
Revert "feat(docs): add a plugin to generate documentation for LLMs (#2558)" (#2576)
This reverts commit 0952d94.
1 parent dbf7981 commit edd907a

File tree

4 files changed

+2
-100
lines changed

4 files changed

+2
-100
lines changed

.vitepress/config.ts

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import fs from 'fs'
22
import path from 'path'
3-
import { defineConfigWithTheme, type HeadConfig, type Plugin } from 'vitepress'
3+
import { defineConfigWithTheme, type HeadConfig } 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'
@@ -819,30 +818,6 @@ export default defineConfigWithTheme<ThemeConfig>({
819818
},
820819
json: {
821820
stringify: true
822-
},
823-
plugins: [
824-
llmstxt({
825-
ignoreFiles: [
826-
'about/team/**/*',
827-
'about/team.md',
828-
'about/privacy.md',
829-
'about/coc.md',
830-
'developers/**/*',
831-
'ecosystem/themes.md',
832-
'examples/**/*',
833-
'partners/**/*',
834-
'sponsor/**/*',
835-
'index.md'
836-
],
837-
customLLMsTxtTemplate: `\
838-
# Vue.js
839-
840-
Vue.js - The Progressive JavaScript Framework
841-
842-
## Table of Contents
843-
844-
{toc}`
845-
}) as Plugin
846-
]
821+
}
847822
}
848823
})

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"textlint-filter-rule-comments": "^1.2.2",
3131
"textlint-rule-preset-vuejs-jp": "github:vuejs-jp/textlint-rule-preset-vuejs-jp",
3232
"typescript": "^5.6.3",
33-
"vitepress-plugin-llms": "^0.0.8",
3433
"vue-tsc": "^2.1.6"
3534
},
3635
"gitHooks": {

pnpm-lock.yaml

Lines changed: 0 additions & 67 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)