bevyengine / bevy-website

The source files for the official Bevy website
https://bevyengine.org
MIT License
192 stars 333 forks source link

_release_notes.toml formatting does not have standard formatting #1200

Open alice-i-cecile opened 4 months ago

alice-i-cecile commented 4 months ago

This creates nasty diffs during format-on-save.

image

Missing spaces.

image

Line breaks.

IceSentry commented 4 months ago

I think the easiest thing to do would be to make sure to save the file with a formatter before opening the first PR. We can add the spaces for the list, but the newlines on longer list I don't really know what the heuristic would be for that.

IceSentry commented 4 months ago

oh, but that file is regenerated every time, right....

rparrett commented 3 months ago

Does the toml crate's pretty serialization match the expected format?

I'll try to remember to look into that at some point.