Skip to content

Commit 6c5fc95

Browse files
committed
Added plugins-llms for llm.txt generation at build time
1 parent 5164b7a commit 6c5fc95

File tree

4 files changed

+1152
-83
lines changed

4 files changed

+1152
-83
lines changed

docs/.vuepress/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {instance as ver} from "./lib/versioning";
1313
import {linkCheckPlugin} from "./markdown/linkCheck";
1414
import {replaceLinkPlugin} from "./markdown/replaceLink";
1515
import {importCodePlugin} from "./markdown/xode/importCodePlugin";
16+
import { llmsPlugin } from '@vuepress/plugin-llms'
17+
1618

1719
dotenv.config({path: path.join(__dirname, '..', '..', '.algolia', '.env')});
1820

@@ -135,5 +137,6 @@ export default defineUserConfig({
135137
alias: {
136138
"@theme-hope/components/BreadCrumb": path.resolve(__dirname, "./components/breadCrumb.ts"),
137139
"@theme-hope/modules/info/components/TOC": path.resolve(__dirname, "./components/TocWithFeedback.ts"),
138-
}
140+
},
141+
plugins: [ llmsPlugin() ],
139142
});

0 commit comments

Comments
 (0)