File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ define.doc(async () => {
2121 return {
2222 root : path . join ( import . meta. dirname , 'docs' ) ,
2323 title,
24- icon : 'https://assets.rspack.rs/rspack/favicon-128x128.png ' ,
24+ icon : 'https://assets.rspack.rs/rspack/rspack-claw-logo.svg ' ,
2525 logoText : title ,
2626 description,
2727 lang : 'en' ,
@@ -57,6 +57,20 @@ define.doc(async () => {
5757 pluginFontOpenSans ( ) ,
5858 pluginSitemap ( { siteUrl } ) ,
5959 ] ,
60+ locales : [
61+ {
62+ lang : 'en' ,
63+ label : 'English' ,
64+ title,
65+ description,
66+ } ,
67+ {
68+ lang : 'zh' ,
69+ label : '简体中文' ,
70+ title,
71+ description : descriptionZh ,
72+ } ,
73+ ] ,
6074 themeConfig : {
6175 llmsUI : {
6276 injectLlmsHint,
@@ -76,20 +90,6 @@ define.doc(async () => {
7690 editLink : {
7791 docRepoBaseUrl : 'https://github.com/rstackjs/rstack-cli/tree/main/website/docs' ,
7892 } ,
79- locales : [
80- {
81- lang : 'en' ,
82- label : 'English' ,
83- title,
84- description,
85- } ,
86- {
87- lang : 'zh' ,
88- label : '简体中文' ,
89- title,
90- description : descriptionZh ,
91- } ,
92- ] ,
9393 } ,
9494 builderConfig : {
9595 plugins : [
You can’t perform that action at this time.
0 commit comments