Description
I often open the RustDoc Documentation of a crate on the left and my own code on the right. Since I don't have the biggest screen this means that a lot of the code is hard to read and requires scrolling:
I propose to show a button, similar as on the smaller viewports, that allows hiding the sidebar, which would turn this into:
This makes the code and the docs in general much more readable and reduces visual clutter on smaller screens.
I think that it would be an improvement to also allow the hiding of the sidebar on bigger screens, though I also could understand the argument to hide the control on even bigger screens.
I am aware of #59829 and hope that the additional control that is proposed here does not add even more visual clutter, I am not an expert in this topic, I can just say that as a Person with ADHD (not dyslexia) the hidden sidebar makes the documentation much easier to digest, but I can't speak for other people. Maybe @lambda could be so kind to comment on this.
I can also create a Mockup, I just wanted to check first whether this is even an idea worth discussing.