diff --git a/src/Actions/GeneratesNavigationMenu.php b/src/Actions/GeneratesNavigationMenu.php index 8a5d9c78..300f72d3 100644 --- a/src/Actions/GeneratesNavigationMenu.php +++ b/src/Actions/GeneratesNavigationMenu.php @@ -10,6 +10,7 @@ /** * Generate the dynamic navigation menu. + * * @todo #350 Replace hard-coded source paths with page model properties */ class GeneratesNavigationMenu diff --git a/src/Concerns/Internal/FileHelpers.php b/src/Concerns/Internal/FileHelpers.php index 2d63cafc..40aaef41 100644 --- a/src/Concerns/Internal/FileHelpers.php +++ b/src/Concerns/Internal/FileHelpers.php @@ -4,7 +4,7 @@ /** * Offloads file helper methods for the Hyde Facade. - * + * * If a method uses the name `path` it refers to an internal file path. * if a method uses the name `link` it refers to a web link used in Blade templates. * @@ -75,6 +75,7 @@ public static function vendorPath(string $path = ''): string /** * Format a link to an HTML file, allowing for pretty URLs, if enabled. + * * @see \Tests\Unit\FileHelperPageLinkPrettyUrlTest */ public static function pageLink(string $destination): string @@ -90,6 +91,7 @@ public static function pageLink(string $destination): string /** * Inject the proper number of `../` before the links in Blade templates. + * * @see \Tests\Unit\FileHelperRelativeLinkTest * * @param string $destination relative to `_site` directory on compiled site diff --git a/tests/Unit/FileHelperRelativeLinkTest.php b/tests/Unit/FileHelperRelativeLinkTest.php index d92e5b1b..33aabc7c 100644 --- a/tests/Unit/FileHelperRelativeLinkTest.php +++ b/tests/Unit/FileHelperRelativeLinkTest.php @@ -18,7 +18,7 @@ public function test_helper_returns_string_as_is_if_current_is_not_set() $this->assertEquals('foo/bar.html', Hyde::relativeLink('foo/bar.html')); } - // Test helper injects the proper number of `../` + // Test helper injects the proper number of `../` public function test_helper_injects_proper_number_of_doubles_slash() { $this->assertEquals('../index.html', Hyde::relativeLink('index.html', 'foo/bar.html'));