File tree Expand file tree Collapse file tree 2 files changed +584
-1
lines changed
Expand file tree Collapse file tree 2 files changed +584
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {linkCheckPlugin} from "./markdown/linkCheck";
1414import { replaceLinkPlugin } from "./markdown/replaceLink" ;
1515import { importCodePlugin } from "./markdown/xode/importCodePlugin" ;
1616import { llmsPlugin } from '@vuepress/plugin-llms'
17+ import { getLlmsPluginOptions } from "./configs/llms" ;
1718import fs from 'fs' ;
1819
1920const searchInterceptor = fs . readFileSync ( path . join ( __dirname , 'util/searchInterceptor.js' ) , 'utf8' ) ;
@@ -123,5 +124,5 @@ export default defineUserConfig({
123124 "@theme-hope/components/BreadCrumb" : path . resolve ( __dirname , "./components/breadCrumb.ts" ) ,
124125 "@theme-hope/modules/info/components/TOC" : path . resolve ( __dirname , "./components/TocWithFeedback.ts" ) ,
125126 } ,
126- plugins : [ llmsPlugin ( ) ] ,
127+ plugins : [ llmsPlugin ( getLlmsPluginOptions ( ver ) ) ] ,
127128} ) ;
You can’t perform that action at this time.
0 commit comments