From 60cd0cd54e51392e7c9fdf40b6effbf2aead1bb0 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 13 Aug 2026 22:34:32 +0800 Subject: [PATCH] fix(docs): update website configuration --- website/rstack.config.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/website/rstack.config.ts b/website/rstack.config.ts index 79821ca1..338cad02 100644 --- a/website/rstack.config.ts +++ b/website/rstack.config.ts @@ -21,7 +21,7 @@ define.doc(async () => { return { root: path.join(import.meta.dirname, 'docs'), title, - icon: 'https://assets.rspack.rs/rspack/favicon-128x128.png', + icon: 'https://assets.rspack.rs/rspack/rspack-claw-logo.svg', logoText: title, description, lang: 'en', @@ -57,6 +57,20 @@ define.doc(async () => { pluginFontOpenSans(), pluginSitemap({ siteUrl }), ], + locales: [ + { + lang: 'en', + label: 'English', + title, + description, + }, + { + lang: 'zh', + label: '简体中文', + title, + description: descriptionZh, + }, + ], themeConfig: { llmsUI: { injectLlmsHint, @@ -76,20 +90,6 @@ define.doc(async () => { editLink: { docRepoBaseUrl: 'https://github.com/rstackjs/rstack-cli/tree/main/website/docs', }, - locales: [ - { - lang: 'en', - label: 'English', - title, - description, - }, - { - lang: 'zh', - label: '简体中文', - title, - description: descriptionZh, - }, - ], }, builderConfig: { plugins: [