-
Notifications
You must be signed in to change notification settings - Fork 889
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
Change default version used in configuration website from master to latest 1.x #4633
Comments
Hi @calebcartwright, I'd like to work on this issue. |
@gunadhya - great, thanks! |
Should this issue still be open? |
Yes indeed! Details in the PR linked to this issue #4644 (comment) |
It looks like this has been succesfully completed as the back port has also been complete #4958 |
#4644 is already merged, and I checked https://rust-lang.github.io/rustfmt/ seems to be already fixed. So can this issue be closed? |
Indeed, thanks all |
rustfmt has a documentation site that enumerates all the configuration options available for a given version of rustfmt
https://rust-lang.github.io/rustfmt/
The site allows users to specify which version of rustfmt they want config documentation for, because the available/support config options can vary from one version of rustfmt to another (i.e. rustfmt v1.4.30 has different options than rustfmt v1.4.12)
The default rustfmt version used on the site is actually pointing the
master
branch in the rustfmt source repo itself. However, this has proven to be problematic because:master
is not a good default because it requires the vast majority of users to need to take an additional action on the config site.The ask for this issue is to change that default from
master
to a different, new default. Ideally, the default could somehow be dynamically set to the latest (semver)v1.*
version from the list, though if that proves impossible/too complex then simply hardcoding it to a different value (likev1.4.31
) would suffice, and the rustfmt team will manually update that hardcoded value to the next value when we release a new version of rustfmt.The code for the config site can be found here:
https://github.com/rust-lang/rustfmt/blob/master/docs/index.html
The text was updated successfully, but these errors were encountered: