Skip to content

Commit

Permalink
Remove unused internal generate method
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 13, 2024
1 parent c0a352a commit 92f0141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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.
*/
Expand Down

0 comments on commit 92f0141

Please sign in to comment.