-
Notifications
You must be signed in to change notification settings - Fork 993
Description
The config documentation website supports anchors for the config options to support directly linking to an option, e.g. https://rust-lang.github.io/rustfmt/?version=v1.4.32&search=#trailing_comma as well as a query parameter, ?version that supports specifying the version of the config documentation to show (more info on config versioning in #4664).
However, there is also a config option named version but the anchor for this option does not work, presumably due to the conflicting version usages and how we're handling query parameters. Not sure what the best fix is, but would be good to be able to fix the anchor, even if that means changing how we deal with query params (including potentially renaming params if needed)
https://github.com/rust-lang/rustfmt/blob/v1.4.32/Configurations.md#version
(can also be found directly above https://rust-lang.github.io/rustfmt/?version=v1.4.32&search=#where_single_line)