From 44e97cd41508eccf6ce57142e2141fd14e0ee97b Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Thu, 14 Dec 2023 18:48:24 +0100 Subject: [PATCH] Merge in source directory prefix for search index identifier --- .../Features/Documentation/DocumentationSearchIndex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php index b33845960a5..f1dcaaa1acb 100644 --- a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php +++ b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php @@ -18,7 +18,7 @@ class DocumentationSearchIndex extends InMemoryPage */ public function __construct() { - parent::__construct('search.json', [ + parent::__construct(DocumentationPage::sourceDirectory().'/search.json', [ 'navigation' => ['hidden' => true], ]); }