Skip to content

Commit f93d0a4

Browse files
committed
UPdate image, tweak some links
1 parent 73b3d06 commit f93d0a4

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/collectors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ Show the Memory Usage of the application
391391
<!-- md:feature collectors.config -->
392392
<!-- md:default false -->
393393

394-
## Cache { #memory }
394+
## Cache { #cache }
395395

396396
<!-- md:version v1.0 -->
397397
<!-- md:feature collectors.files -->

docs/img/debugbar.gif

941 KB
Loading

docs/img/preview.png

-42.6 KB
Binary file not shown.

docs/img/usage.gif

-756 KB
Binary file not shown.

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ hide:
1414

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

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

1919
!!! tip "Live Demo"
2020
See an interactive example of the Laravel Debugbar in action below. (Don't worry, this is just dummy data)

docs/overrides/shortcodes.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _badge_for_example_download(text: str, page: Page, files: Files):
208208
# Create badge for default value
209209
def _badge_for_default(text: str, page: Page, files: Files):
210210
icon = "material-water"
211-
href = _resolve_path("features.md#default", page, files)
211+
href = _resolve_path("features.md#config", page, files)
212212
return _badge(
213213
icon = f"[:{icon}:]({href} 'Default value')",
214214
text = text
@@ -217,7 +217,7 @@ def _badge_for_default(text: str, page: Page, files: Files):
217217
# Create badge for empty default value
218218
def _badge_for_default_none(page: Page, files: Files):
219219
icon = "material-water-outline"
220-
href = _resolve_path("features.md#default", page, files)
220+
href = _resolve_path("features.md#config", page, files)
221221
return _badge(
222222
icon = f"[:{icon}:]({href} 'Default value is empty')"
223223
)
@@ -257,15 +257,15 @@ def _badge_for_customization(page: Page, files: Files):
257257
# Create badge for multiple instance flag
258258
def _badge_for_multiple(page: Page, files: Files):
259259
icon = "material-inbox-multiple"
260-
href = _resolve_path("features.md#experimental", page, files)
260+
href = _resolve_path("features.md#multiple", page, files)
261261
return _badge(
262262
icon = f"[:{icon}:]({href} 'Multiple instances')"
263263
)
264264

265265
# Create badge for experimental flag
266266
def _badge_for_experimental(page: Page, files: Files):
267267
icon = "material-flask-outline"
268-
href = _resolve_path("features.md#experimental-features", page, files)
268+
href = _resolve_path("features.md#experimental", page, files)
269269
return _badge(
270270
icon = f"[:{icon}:]({href} 'Experimental')"
271271
)

docs/usage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ hide:
99

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

12-
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.
12+
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.
1313

14-
![Usage](img/usage.gif)
14+
![Usage](img/debugbar.gif)
1515

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

0 commit comments

Comments
 (0)