From d447a40f98526ee004b1f1bae4d4582aef089fa7 Mon Sep 17 00:00:00 2001 From: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Date: Fri, 28 Jul 2023 17:40:34 +0300 Subject: [PATCH] fix: DocSearch --- docusaurus.config.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 744beffb0..9053a49b6 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -66,6 +66,22 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ + algolia: { + appId: 'AA9S5J9NYT', + apiKey: 'ccfe6abc4d12ac6f882565a9d0caafb1', + indexName: 'sern', + insights: true, + container: 'div', + debug: false, + contextualSearch: true, + externalUrlRegex: 'external\\.com|domain\\.com', + replaceSearchResultPathname: { + from: '/docs/', + to: '/', + }, + searchParameters: {}, + searchPagePath: 'search', + }, navbar: { title: 'Home', logo: { @@ -135,22 +151,6 @@ const config = { ], }, ], - algolia: { - appId: 'AA9S5J9NYT', - apiKey: 'ccfe6abc4d12ac6f882565a9d0caafb1', - indexName: 'sern', - insights: true, - container: 'div', - debug: false, - contextualSearch: true, - externalUrlRegex: 'external\\.com|domain\\.com', - replaceSearchResultPathname: { - from: '/docs/', - to: '/', - }, - searchParameters: {}, - searchPagePath: 'search', - }, copyright: `Built with ❤️ by the sern Handler team and its contributors`, }, metadata : [