11import { defineConfig } from 'vitepress'
2- import { sharedConfig } from "./sharedConfig" ;
3- import { zhConfig } from "./zhCN" ;
4- import { ruConfig } from "./ruRU" ;
5- import { zhTWConfig } from "./zhTW" ;
6- import { enUSConfig } from "./enUS" ;
2+ import { sharedConfig } from "./sharedConfig" ;
3+ import { zhConfig } from "./zhCN" ;
4+ import { ruConfig } from "./ruRU" ;
5+ import { zhTWConfig } from "./zhTW" ;
6+ import { enUSConfig } from "./enUS" ;
77import { MarkdownOptions } from 'vitepress' ;
88
99// import mdOpts from './mdOpts.mts';
@@ -14,9 +14,10 @@ export default defineConfig({
1414 sitemap : {
1515 hostname : 'https://kb.corona.studio'
1616 } ,
17+ cleanUrls : true ,
1718
1819 //define FavIcon
19- head :[
20+ head : [
2021 [ 'link' , { rel : 'icon' , href : '/img/favicon/favicon_dark.png' } ]
2122 ] ,
2223 //...
@@ -29,7 +30,7 @@ export default defineConfig({
2930 root : { label : '简体中文' , lang : 'zh-CN' , link : '/zhCN/' , ...zhConfig } ,
3031 enUS : { label : 'English(US)' , lang : 'en-US' , link : '/enUS/' , ...enUSConfig } ,
3132 ruRU : { label : 'Русский' , lang : 'ru-RU' , link : '/ruRU/' , ...ruConfig } ,
32- zhTW : { label : '繁體中文' , lang : 'zh-TW' , link : '/zhTW/' , ...zhTWConfig }
33+ zhTW : { label : '繁體中文' , lang : 'zh-TW' , link : '/zhTW/' , ...zhTWConfig }
3334 } ,
3435} ) ;
3536
0 commit comments