From 8da2c0aef557fc886d36b9b8ecbeddff483d34f2 Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Sun, 21 Jan 2024 23:24:12 +0900 Subject: algoliaを追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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', + }, }), }; -- cgit v1.2.3-54-g00ecf