bevyengine / bevyengine/bevy-website

Generated migration guide would benefit from automated cleanup

Open
#1,195 1 comment 0 reactions 0 assignees View on GitHub
A-Migration Guides C-Automation C-Feature
Dominant language
JavaScript
Stars
249
Forks
450
Avg merge
16h 20m
Merged PRs (30d)
6

Description

> Bit of a nit, but I'm not a fan of all the white space inconsistency in the migration guide. How easy would it be to call `str::trim` on the file contents, then write an extra `\n`?

_Originally posted by @BD103 in https://github.com/bevyengine/bevy-website/issues/1191#issuecomment-2126861114_

> Btw, the first thing I did pretty much every release was capitalize every title correctly and standardize all the before/after code blocks to use // bevy 0.13 / // bevy 0.14 people use a bunch of different ways to do that but it's pretty easy to just do a search and replace. Although now you'll need to do a search replace in the folder I guess

- @IceSentry

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file or test; first locate the code that generates the migration guide and inspect its generated output. Verify the requested whitespace cleanup, including trimming file contents and ending with one newline, along with the mentioned title and before/after code-block standardization. Done means regenerated guides use the agreed formatting consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.