From 253b8c92ec2d615b7aea9c17736041ba2ee21361 Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Wed, 3 Apr 2024 07:59:01 -0500 Subject: [PATCH] Docusaurus: remove docs substring in search results (#5789) --- docusaurus.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 65fe985ea1..ea50259143 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -165,6 +165,10 @@ const config: Config = { apiKey: 'fd3d0a05bfe5d280348060ca5ea416be', indexName: 'prisma', contextualSearch: false, + replaceSearchResultPathname: { + from: '/docs/', + to: '/' + } }, footer: { style: 'dark',