Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki url paths should be case-insensitive #202

Open
Joehuu opened this issue Sep 18, 2024 · 2 comments
Open

Wiki url paths should be case-insensitive #202

Joehuu opened this issue Sep 18, 2024 · 2 comments

Comments

@Joehuu
Copy link

Joehuu commented Sep 18, 2024

https://opentabletdriver.net/Wiki/FAQ/MacOS and https://opentabletdriver.net/Wiki/FAQ/macOS

The correct casing of macOS 404s. Should be corrected, but making paths case-insensitive and redirect to the desired casing has to happen too (to prevent the first link from not working). Wikipedia and the osu! wiki does case-insensitive.

Noticed that on lazer, there was no faq listed on macOS because it was outdated. I wanted to update it, but had to resort to this:

$@"https://opentabletdriver.net/Wiki/FAQ/{(RuntimeInfo.OS == RuntimeInfo.Platform.macOS ? @"MacOS" : RuntimeInfo.OS)}"

because RuntimeInfo.OS returns macOS.

@gonX
Copy link
Member

gonX commented Sep 18, 2024

I think this is a limitation of GitHub pages. We could workaround this by duplicating filenames to some desired paths (e.g. MacOS -> macOS) but I can also foresee this becoming cumbersome to keep up.

@InfinityGhost
Copy link
Member

I think this is a limitation of GitHub pages. We could workaround this by duplicating filenames to some desired paths (e.g. MacOS -> macOS) but I can also foresee this becoming cumbersome to keep up.

It can be symlinked as git does support symbolic links

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

No branches or pull requests

3 participants