From 8c164f364af988a5d42a5292f5de6789fdc197c5 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Mon, 12 Feb 2024 18:19:54 +0100 Subject: [PATCH] add algolia search --- docusaurus/docusaurus.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 9c5679e35..c332d10bb 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -170,6 +170,28 @@ const config = { metadata: [ {name: 'keywords', content: 'palworld, palworld server docker, palworld docker'}, ], + algolia: { + // The application ID provided by Algolia + appId: 'MVCUXHA7XU', + + // Public API key: it is safe to commit it + apiKey: 'b7e35eb305f1beef4ba2217366cf471a', + + indexName: 'palworld-server-ker', + + // 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', + + insights: true, + + //... other Algolia params + }, }), };