Skip to content

Commit

Permalink
UPdate image, tweak some links
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Dec 19, 2024
1 parent 73b3d06 commit f93d0a4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Show the Memory Usage of the application
<!-- md:feature collectors.config -->
<!-- md:default false -->

## Cache { #memory }
## Cache { #cache }

<!-- md:version v1.0 -->
<!-- md:feature collectors.files -->
Expand Down
Binary file added docs/img/debugbar.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/preview.png
Binary file not shown.
Binary file removed docs/img/usage.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hide:

Laravel Debugbar is a package that integrates [PHP Debug Bar](https://github.com/php-debugbar/php-debugbar) with Laravel.

![Debugbar Dark Mode screenshot](img/preview.png)
![Debugbar Dark Mode screenshot](img/debugbar.gif)

!!! tip "Live Demo"
See an interactive example of the Laravel Debugbar in action below. (Don't worry, this is just dummy data)
Expand Down
8 changes: 4 additions & 4 deletions docs/overrides/shortcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _badge_for_example_download(text: str, page: Page, files: Files):
# Create badge for default value
def _badge_for_default(text: str, page: Page, files: Files):
icon = "material-water"
href = _resolve_path("features.md#default", page, files)
href = _resolve_path("features.md#config", page, files)
return _badge(
icon = f"[:{icon}:]({href} 'Default value')",
text = text
Expand All @@ -217,7 +217,7 @@ def _badge_for_default(text: str, page: Page, files: Files):
# Create badge for empty default value
def _badge_for_default_none(page: Page, files: Files):
icon = "material-water-outline"
href = _resolve_path("features.md#default", page, files)
href = _resolve_path("features.md#config", page, files)
return _badge(
icon = f"[:{icon}:]({href} 'Default value is empty')"
)
Expand Down Expand Up @@ -257,15 +257,15 @@ def _badge_for_customization(page: Page, files: Files):
# Create badge for multiple instance flag
def _badge_for_multiple(page: Page, files: Files):
icon = "material-inbox-multiple"
href = _resolve_path("features.md#experimental", page, files)
href = _resolve_path("features.md#multiple", page, files)
return _badge(
icon = f"[:{icon}:]({href} 'Multiple instances')"
)

# Create badge for experimental flag
def _badge_for_experimental(page: Page, files: Files):
icon = "material-flask-outline"
href = _resolve_path("features.md#experimental-features", page, files)
href = _resolve_path("features.md#experimental", page, files)
return _badge(
icon = f"[:{icon}:]({href} 'Experimental')"
)
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ hide:

When the Debugbar is enabled, the Debugbar is shown on the bottom of the screen, similar to the documentation preview.

Based on your configuration, it shows the [Collectors](#collectors.md) for the current request. You can open, close, restore or minimize the toolbar for your need. The state will be remembered.
Based on your configuration, it shows the [Collectors](collectors.md) for the current request. You can open, close, restore or minimize the toolbar for your need. The state will be remembered.

![Usage](img/usage.gif)
![Usage](img/debugbar.gif)

## Debugbar Facade
You can now add messages using the Facade (when added), using the PSR-3 levels (debug, info, notice, warning, error, critical, alert, emergency):
Expand Down

0 comments on commit f93d0a4

Please sign in to comment.