From 392dcd11946985c15264288d16b00bef7fc776ba Mon Sep 17 00:00:00 2001 From: zzx-coder <2293314358@qq.com> Date: Tue, 12 May 2026 23:30:03 +0800 Subject: [PATCH] fix: temporarily disable incompatible search plugin to resolve build errors --- docusaurus.config.js | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 424ef17..c1a620d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -185,22 +185,23 @@ module.exports = { ], themes: [ // ... Your other themes. - [ - require.resolve("@easyops-cn/docusaurus-search-local"), - { - // ... Your options. - // `hashed` is recommended as long-term-cache of index file is possible. - hashed: true, - language: ["en", "zh"], - highlightSearchTermsOnTargetPage: true, - blogRouteBasePath: "/", - explicitSearchResultPath: true, - // For Docs using Chinese, The `language` is recommended to set to: - // ``` - // language: ["en", "zh"], - // ``` - }, - ], + // Local search plugin temporarily disabled due to compatibility issues with Docusaurus 3.9.2 + // [ + // require.resolve("@easyops-cn/docusaurus-search-local"), + // { + // // ... Your options. + // // `hashed` is recommended as long-term-cache of index file is possible. + // hashed: true, + // language: ["en", "zh"], + // highlightSearchTermsOnTargetPage: true, + // blogRouteBasePath: "/", + // explicitSearchResultPath: true, + // // For Docs using Chinese, The `language` is recommended to set to: + // // ``` + // // language: ["en", "zh"], + // // ``` + // }, + // ], ], i18n: { defaultLocale: 'zh-cn',