From 3853e653e6b874fb68ee87f829f7fed6921fd4fa Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Mon, 22 Apr 2024 14:42:55 +0800 Subject: [PATCH 1/3] Support search --- docusaurus.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 8753386..256e939 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -106,6 +106,12 @@ const config: Config = { theme: prismThemes.github, darkTheme: prismThemes.dracula, }, + // Search + algolia: { + appId: "7XWR9R3HW7", + apiKey: "67f3045c29776f57ec82bc65447ebcb7", + indexName: "helixbridge", + }, } satisfies Preset.ThemeConfig, }; From 7f796674d2b669c7d38fce5c9612d2633d5abccb Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Mon, 22 Apr 2024 14:43:51 +0800 Subject: [PATCH 2/3] Remove github navigation from header --- docusaurus.config.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 256e939..348d025 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -56,14 +56,7 @@ const config: Config = { alt: "Helix Bridge Logo", src: "img/logo.svg", }, - items: [ - { - href: "https://github.com/helix-bridge", - label: "GitHub", - position: "right", - logo: '/img/logo.svg' - }, - ], + items: [], }, footer: { style: "dark", From 50fc3acef778b8fe9806b16b60e41d7638ebd06c Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Mon, 22 Apr 2024 14:47:02 +0800 Subject: [PATCH 3/3] Add robots.txt --- static/robots.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 static/robots.txt diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..39e92b8 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,5 @@ +# Algolia-Crawler-Verif: C609519EC7EEFA36 + +User-agent: * +Allow: / +Sitemap: https://docs.helixbridge.app/sitemap.xml