mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
7ffd6eade1
# 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. |
||
---|---|---|
.. | ||
main.rs |