From aa81677902de2c60cc2c196d3494f1972c3c6bdd Mon Sep 17 00:00:00 2001
From: Ilya Zhukov <i.zhukov@fz-juelich.de>
Date: Thu, 29 Aug 2024 17:38:27 +0200
Subject: [PATCH] Disable search for now
---
.gitlab-ci.yml | 2 --
docusaurus.config.ts | 30 +++++++++++++++---------------
2 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b8e4eb..058fb38 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 ac371f9..5ba79af 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: {
--
GitLab