2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2024-12-29 14:33:12 +00:00
bevy/examples/diagnostics
Nihilistas eec38004a8
Add example demonstrating how to enable / disable diagnostics ()
# Objective

fixes 

## Solution

added an example to the diagnostic examples and linked the code to the
docs of the diagnostic library itself.

## Testing

I tested locally on my laptop in a web browser. Looked fine. You are
able to collapse the whole "intro" part of the doc to get to the links
sooner (for those who may think that including the example code here is
annoying to scroll through)

I would like people to run ```cargo doc``` and go the bevy_diagnostic
page to see if they have any issues or suggestions.

---

## Showcase

<img width="1067" alt="Screenshot 2024-08-14 at 12 52 16"
src="https://github.com/user-attachments/assets/70b6c18a-0bb9-4656-ba53-c416f62c6116">

---------

Co-authored-by: dpeke <dpekelis@funstage.com>
2024-08-15 20:54:51 +00:00
..
custom_diagnostic.rs Inverse missing_docs logic () 2024-02-03 21:40:55 +00:00
enabling_disabling_diagnostic.rs Add example demonstrating how to enable / disable diagnostics () 2024-08-15 20:54:51 +00:00
log_diagnostics.rs Allow tuples and single plugins in add_plugins, deprecate add_plugin () 2023-06-21 20:51:03 +00:00