Skip to content

Commit c6ae8fc

Browse files
Merge pull request #279 from vuejs-translations/revert-260-96ec3f91
Revert "feat(docs): add a plugin to generate documentation for LLMs (#259)"
2 parents 1888622 + d58a9d9 commit c6ae8fc

File tree

4 files changed

+2
-134
lines changed

4 files changed

+2
-134
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'
@@ -801,30 +800,6 @@ export default defineConfigWithTheme<ThemeConfig>({
801800
},
802801
json: {
803802
stringify: true
804-
},
805-
plugins: [
806-
llmstxt({
807-
ignoreFiles: [
808-
'about/team/**/*',
809-
'about/team.md',
810-
'about/privacy.md',
811-
'about/coc.md',
812-
'developers/**/*',
813-
'ecosystem/themes.md',
814-
'examples/**/*',
815-
'partners/**/*',
816-
'sponsor/**/*',
817-
'index.md'
818-
],
819-
customLLMsTxtTemplate: `\
820-
# Vue.js
821-
822-
Vue.js - The Progressive JavaScript Framework
823-
824-
## Table of Contents
825-
826-
{toc}`
827-
}) as Plugin
828-
]
803+
}
829804
}
830805
})

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": "pnpm@9.12.1"

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)