diff --git a/docs/config.php b/docs/config.php index a73d066..e278660 100644 --- a/docs/config.php +++ b/docs/config.php @@ -43,4 +43,7 @@ return [ 'url' => function ($page, $path) { return starts_with($path, 'http') ? $path : '/'.trimPath($path); }, + 'isUrl' => function ($page, $path) { + return starts_with($path, 'http'); + }, ]; diff --git a/docs/source/_nav/menu-item.blade.php b/docs/source/_nav/menu-item.blade.php index 824027c..34a73fe 100644 --- a/docs/source/_nav/menu-item.blade.php +++ b/docs/source/_nav/menu-item.blade.php @@ -1,7 +1,7 @@
  • @if ($url = is_string($item) ? $item : $item->url) {{-- Menu item with URL--}} - {{ $label }}