diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b8e4eb6e8e9e47d994e6c78998ca3a7c52f98c2..058fb3828408526b26c23d50798d867b4e3f8071 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,8 +14,6 @@ pages: script: - yarn install - yarn build:gitlab - - yarn add @docusaurus/theme-common@^3 - - yarn add @easyops-cn/docusaurus-search-local artifacts: paths: - public diff --git a/docusaurus.config.ts b/docusaurus.config.ts index ac371f9af2c1f94975f275c1b8bbcf6fdf681b5c..5ba79af5e8ffc26a126b161c8b563b8e2e0db38d 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -55,21 +55,21 @@ const config: Config = { ], themes: [ - // ... Your other themes. - [ - require.resolve("@easyops-cn/docusaurus-search-local"), - /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */ - ({ - // ... Your options. - // `hashed` is recommended as long-term-cache of index file is possible. - hashed: true, - // For Docs using Chinese, The `language` is recommended to set to: - // ``` - // language: ["en", "zh"], - // ``` - indexDocs: true, - }), - ], + // ... Your other themes. + // [ + // require.resolve("@easyops-cn/docusaurus-search-local"), + // /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */ + // ({ + // // ... Your options. + // // `hashed` is recommended as long-term-cache of index file is possible. + // hashed: true, + // // For Docs using Chinese, The `language` is recommended to set to: + // // ``` + // // language: ["en", "zh"], + // // ``` + // indexDocs: true, + // }), + // ], ], themeConfig: {