bevy/tools/example-showcase
TrialDragon 7ffd6eade1
Stop website examples from linking to old URL with multiple redirects (#14500)
# Objective

Fixes https://github.com/bevyengine/bevy-website/issues/1558
Followup to #12348 

For the website pages extra link, it needs kebab case for the category
name and a trailing forward slash to make the link for the Bevy website
correct and not have unnecessary redirections.

## Solution

Changes the category name to kebab case for the extra link, and adds a
trailing forward slash to the link.

## Testing

I have tested these changes.

Clone my fork with the changes in `bevy-website/generate-wasm-examples/`
then `cd bevy && git switch bevy-website/1558_fix_beautify_example_links
&& cd ..` and then `./generate_wasm_examples.sh` to generate examples.

Afterwards runs `zola serve` and go to `http://127.0.0.1:1111/examples`
and hover over or inspect the cards links / anchors to see that the link
is now correct, click on any of the cards to see that there is no
redirects.
2024-07-29 23:44:42 +00:00
..
src Stop website examples from linking to old URL with multiple redirects (#14500) 2024-07-29 23:44:42 +00:00
asset-source-website.patch Fix asset-source-website.patch line number (#13286) 2024-05-12 20:49:43 +00:00
Cargo.toml Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965) 2024-07-29 23:10:16 +00:00
disable-audio.patch run examples on macOS to validate PRs (#11630) 2024-01-31 20:03:47 +00:00
extra-window-resized-events.patch fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
fixed-window-position.patch hacks for running (and screenshotting) the examples in CI on a github runner (#9220) 2023-10-13 19:19:17 +00:00
reduce-light-cluster-config.patch Regenerate light cluster patch file (#13655) 2024-06-03 18:19:32 +00:00
remove-desktop-app-mode.patch fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
window-settings-wasm.patch Fix example showcase wasm window settings patch (#12608) 2024-04-06 22:07:49 +00:00