Skip to content

Commit

Permalink
Todo comments for changes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 8, 2024
1 parent 5e0ebed commit 1a261e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/framework/src/Facades/HydeFront.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ public static function version(): string
/**
* Get the CDN link for a specific file.
*
* @param 'app.css' $file
*
* @deprecated This method may be removed before the final v2.0 release as there is now currently only one file available.
*
* @param 'app.css' $file
* @todo Remove the method before the final v2.0 release.
*
* @link https://cdn.jsdelivr.net/npm/hydefront@latest/dist/ for the available files.
*/
Expand Down
5 changes: 5 additions & 0 deletions packages/framework/src/Pages/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public function getOnlineSourcePath(): string|false
return sprintf('%s/%s.md', trim(Config::getString('docs.source_file_location_base'), '/'), $this->identifier);
}

/**
* @todo Remove unused method?
*
* @deprecated This is unused anc could be replaced by using the config directly.
*/
public static function hasTableOfContents(): bool
{
return Config::getBool('docs.sidebar.table_of_contents.enabled', true);
Expand Down

0 comments on commit 1a261e2

Please sign in to comment.