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], ]); }