Skip to content

Support version-specific configuration documentation links. #4260

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

Closed
calebcartwright opened this issue Jun 19, 2020 · 0 comments · Fixed by #4270
Closed

Support version-specific configuration documentation links. #4260

calebcartwright opened this issue Jun 19, 2020 · 0 comments · Fixed by #4270
Labels
documentation good first issue Issues up for grabs, also good candidates for new rustfmt contributors help wanted

Comments

@calebcartwright
Copy link
Member

The recommended way for users to consume configuration option documentation is via the GH pages site (https://rust-lang.github.io/rustfmt/) because this makes it easy for users to specify their current version of rustfmt and view version-specific config docs. (Refs #4178 and #4221).

It would be great if the rustfmt version could be specified so that we can provide version-specific documentation via links.

For example:
https://rust-lang.github.io/rustfmt?version=1.4.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation good first issue Issues up for grabs, also good candidates for new rustfmt contributors help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant