@@ -2,19 +2,12 @@ import { themes as prismThemes } from 'prism-react-renderer';
22import type { Config } from '@docusaurus/types' ;
33import type * as Preset from '@docusaurus/preset-classic' ;
44
5- // This rus in Node.js - Don't use client-side code here (browser APIs, JSX...)
6-
75const config : Config = {
86 title : "Open LLM Vtuber" ,
97 tagline : "与你的专属 Live2D AI 虚拟伴侣进行实时语音互动" ,
108 customFields : {
119 thirdline : "支持所有主流大语言模型,跨平台运行" ,
12- showcaseImages : [
13- 'img/i1.jpg' ,
14- 'img/i2.jpg' ,
15- 'img/i3.jpg' ,
16- 'img/i4.jpg' ,
17- ] ,
10+ showcaseImages : [ "img/i1.jpg" , "img/i2.jpg" , "img/i3.jpg" , "img/i4.jpg" ] ,
1811 } ,
1912 favicon : "img/favicon.ico" ,
2013
@@ -32,17 +25,6 @@ const config: Config = {
3225 onBrokenLinks : "ignore" ,
3326 onBrokenMarkdownLinks : "ignore" ,
3427
35- // Add the Algolia site verification meta tag
36- headTags : [
37- {
38- tagName : 'meta' ,
39- attributes : {
40- name : 'algolia-site-verification' ,
41- content : 'A4A67663DD2003A1'
42- } ,
43- } ,
44- ] ,
45-
4628 // Even if you don't use internationalization, you can use this field to set
4729 // useful metadata like html lang. For example, if your site is Chinese, you
4830 // may want to replace "en" with "zh-Hans".
@@ -207,13 +189,14 @@ const config: Config = {
207189 theme : prismThemes . github ,
208190 darkTheme : prismThemes . dracula ,
209191 } ,
210- // algolia: {
211- // appId: 'YOUR_APP_ID',
212- // apiKey: 'YOUR_SEARCH_API_KEY',
213- // indexName: 'open-llm-vtuber',
214- // contextualSearch: true,
215- // searchPagePath: 'search',
216- // },
192+ algolia : {
193+ appId : "PB6QVXEO9H" ,
194+ apiKey : "7029ae39403dd6e8515c305572489bb5" ,
195+ indexName : "llmvtuber" ,
196+ contextualSearch : true ,
197+ insights : true ,
198+ searchPagePath : "search" ,
199+ } ,
217200 } satisfies Preset . ThemeConfig ,
218201} ;
219202
0 commit comments