From 359a9e4539f337c2648e2dd5d70a44e723680d83 Mon Sep 17 00:00:00 2001 From: Kyriakos Akriotis Date: Mon, 16 Jun 2025 08:50:40 +0000 Subject: [PATCH] added searchPagePath and insights in typesense configuration #263 --- docusaurus.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index f359b83979..dd9f21bc67 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -243,7 +243,12 @@ const config: Config = { // Optional: Typesense search parameters: https://typesense.org/docs/0.24.0/api/search.html#search-parameters typesenseSearchParameters: {}, - searchPagePath: false, + + // Optional: path for search page that enabled by default (`false` to disable it) + searchPagePath: 'search', + + // Optional: whether the insights feature is enabled or not on Docsearch (`false` by default) + insights: true, // Optional contextualSearch: true,