Skip to content

Commit

Permalink
Merge pull request #1569 from hydephp/remove-unused-internal-method
Browse files Browse the repository at this point in the history
Remove unused internal `DocumentationSearchPage::generate()` method
  • Loading branch information
caendesilva authored Feb 13, 2024
2 parents c0a352a + 92f0141 commit 4a31c1a
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 4a31c1a

Please sign in to comment.