diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 99512f0f661..2cc8b136fc6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -23,6 +23,7 @@ This serves two purposes: ### Removed - Breaking: Removed the build task `\Hyde\Framework\Actions\PostBuildTasks\GenerateSearch` (see upgrade guide below) - Breaking: Removed the deprecated `\Hyde\Framework\Services\BuildService::transferMediaAssets()` method (see upgrade guide below) +- Internal: Removed the internal `DocumentationSearchPage::generate()` method as it was unused in https://github.com/hydephp/develop/pull/1569 ### Fixed - for any bug fixes. diff --git a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php index 61f4b2e8930..21c440102e3 100644 --- a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php +++ b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php @@ -9,7 +9,6 @@ use Hyde\Pages\DocumentationPage; use Hyde\Pages\Concerns\HydePage; use Hyde\Support\Models\RouteKey; -use Hyde\Framework\Actions\StaticPageBuilder; use Hyde\Facades\Config; /** @@ -21,16 +20,6 @@ */ class DocumentationSearchPage extends InMemoryPage { - /** - * Generate the search page and save it to disk. - * - * @return string The path to the generated file. - */ - public static function generate(): string - { - return StaticPageBuilder::handle(new static()); - } - /** * Create a new DocumentationSearchPage instance. */