Description
Considering the fact that Rust has moved into alpha and The Rust Programming Language has replaced the Guide, I think it would be useful to work towards creating a mobile-friendly layout for Rust's documentation. #17926 discusses the Guide, but now that the Book has replaced the Guide and brought a whole new layout that includes a sidebar, more than just a viewport fix will be needed to make it mobile-friendly. From what I can tell, there are a few "page families" that would need some tweaking (complete with fancy GitHub-powered checklist):
- The Rust Programming Language (http://doc.rust-lang.org/book/) [make the book more mobile friendly #21071]
- Rust Reference & Documentation (similar page styles) [Improve Rust Documentation & Reference on mobile #21133]
- API Docs (http://doc.rust-lang.org/std/index.html) [Improve mobile-friendliness of API docs #21597]
For the Rust Reference and Rust Documentation, a viewport meta tag might be all we need to make it mobile-friendly. The API Docs actually look pretty good on mobile already (the sidebar is pushed to the bottom of the page), but the page appears to load slightly zoomed-in (another viewport fix, likely).
The Book is rendered on mobile pretty much equivalently to the way it is displayed on larger displays, but it would be ideal for the content take up the full width of the screen. This leaves the sidebar to either be placed at the bottom of the page or converted into a dropdown menu of some sort. Thoughts?