aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-21 23:24:12 +0900
committer安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-21 23:24:12 +0900
commit8da2c0aef557fc886d36b9b8ecbeddff483d34f2 (patch)
tree83c3249893da0c6237ab3a341a05da732c5d8954
parented368ccb29bbc51a6d897bee27094309f62f788f (diff)
algoliaを追加
-rw-r--r--docusaurus.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index d2e3eb5f..c1c0692e 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -168,6 +168,17 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
+ algolia: {
+ appId: 'GH3BU38Y7O',
+ apiKey: 'aed5bb519d3a4c3627628d8ca285b1b7',
+ indexName: 'docusaurus',
+ // Optional: see doc section below
+ contextualSearch: true,
+ // Optional: Algolia search parameters
+ searchParameters: {},
+ // Optional: path for search page that enabled by default (`false` to disable it)
+ searchPagePath: 'search',
+ },
}),
};