From 4556eed47894c9d5e5bd85aa85559445b9300cec Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 15 Dec 2023 12:56:30 +0100 Subject: [PATCH] Fix wrong method used to emulate route key --- .../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 4ad3e5deb30..2cb5aab6298 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(ltrim(DocumentationPage::sourceDirectory().'/search.json', '/'), [ + parent::__construct(ltrim(DocumentationPage::outputDirectory().'/search.json', '/'), [ 'navigation' => ['hidden' => true], ]); }