Skip to content

replace _ with - in path names (for consistency) - #2733

Merged
tshepang merged 2 commits into
mainfrom
tshepang/normalize-paths
Jan 29, 2026
Merged

tshepang merged 2 commits into
mainfrom
tshepang/normalize-paths

Conversation

@tshepang

Copy link
Copy Markdown
Member

r? ghost

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jan 19, 2026
@BoxyUwU

BoxyUwU commented Jan 19, 2026

Copy link
Copy Markdown
Member

Is there a recommended style for mdbooks?

@tshepang
tshepang force-pushed the tshepang/normalize-paths branch from 7dc583d to be33edf Compare January 19, 2026 23:24
@tshepang

Copy link
Copy Markdown
Member Author

I have not seen any

@tshepang
tshepang force-pushed the tshepang/normalize-paths branch 3 times, most recently from 5c024f6 to 67420b6 Compare January 20, 2026 00:15
@tshepang tshepang changed the title replace _ with - in dir names (for consistency) replace _ with - in path names (for consistency) Jan 20, 2026
@tshepang
tshepang force-pushed the tshepang/normalize-paths branch 3 times, most recently from 650726c to 21e68f3 Compare January 20, 2026 01:43
@tshepang
tshepang force-pushed the tshepang/normalize-paths branch from 21e68f3 to 9958d23 Compare January 20, 2026 01:44
@BoxyUwU

BoxyUwU commented Jan 20, 2026

Copy link
Copy Markdown
Member

im not sure what my preference is of a-b vs a_b, regardless of what we do though we should docuemnt it somewhere and add a CI check so the consistency doesn't regress

@tshepang

Copy link
Copy Markdown
Member Author

I wrote a tool to help with the conversion, but it's too limited to place here... I will make it better and add it to ci

@tshepang

Copy link
Copy Markdown
Member Author

im not sure what my preference is of a-b vs a_b

there is a general preference for a-b in URLs

@tshepang
tshepang merged commit 3f7334e into main Jan 29, 2026
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jan 29, 2026
@tshepang
tshepang deleted the tshepang/normalize-paths branch January 29, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants