LWN: Comments on "Formatted Rust kernel documentation available" https://lwn.net/Articles/986167/ This is a special feed containing comments posted to the individual LWN article titled "Formatted Rust kernel documentation available". en-us Thu, 30 Oct 2025 11:34:21 +0000 Thu, 30 Oct 2025 11:34:21 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Tweak it a bit? https://lwn.net/Articles/987077/ https://lwn.net/Articles/987077/ Cyberax <div class="FormattedComment"> A bit of both. It's hard to see the settings icon, it seems to be a part of the search bar. Maybe add a bit of spacing before "?" and the settings button?<br> <p> The "persistent navigation bar" can probably also be renamed as "side panel".<br> </div> Sat, 24 Aug 2024 01:17:20 +0000 Tweak it a bit? https://lwn.net/Articles/987074/ https://lwn.net/Articles/987074/ notriddle <p>Is the name of the setting not clear? Or is the settings button itself not easy to recognize? <p>(I'm trying to come up with a mitigation that doesn't add another button. Lots of people think rustdoc has too many buttons already.) Sat, 24 Aug 2024 01:02:54 +0000 Tweak it a bit? https://lwn.net/Articles/987071/ https://lwn.net/Articles/987071/ Cyberax <div class="FormattedComment"> <span class="QuotedText">&gt; Yes it can. Click the cog wheel button, then check "Hide persistent navigation bar".</span><br> <p> OK, thanks! It'd be nice to add a button right on the bar, because these settings and nigh undiscoverable.<br> </div> Sat, 24 Aug 2024 00:14:24 +0000 Tweak it a bit? https://lwn.net/Articles/987070/ https://lwn.net/Articles/987070/ notriddle <div class="FormattedComment"> <span class="QuotedText">&gt; 1. The left panel can't be hidden.</span><br> <p> Yes it can. Click the cog wheel button, then check "Hide persistent navigation bar".<br> <p> <span class="QuotedText">&gt; 2. The text does not scale to the full size of the screen.</span><br> <p> That sounds easy, until you realize that half of rustdoc's output is hard-wrapped code anyway. It's not worth it.<br> </div> Sat, 24 Aug 2024 00:05:01 +0000 Tweak it a bit? https://lwn.net/Articles/986919/ https://lwn.net/Articles/986919/ khim <p>You can play similar tricks with Rust documentation, too (only there <i>Hide persistent navigation bar</i> is option in preferences and maximum width requires CSS styles override).</p> <p>My point wasn't that LWN is badly done, but more of an opposite. Countless web sites use such design. Heck, even such different things as Windows 95 Help system or Chrome/Firefox settings are done in the same fashion. Or, damn, Norton Utilities for DOS (starting from version 4.5? don't remember, but not from version 1, that's for sure). If so many adopt it, then, perhaps, that's what people perceive as “pleasant and useful”, otherwise it wouldn't have survived for so many years!</p> <p>Alternative would be an admission that all these designers that done so many various web sites (and not just web sites!) with this rough layout approach are all idiots that push things that people hate… or maybe that there are some worldwide conspiracy that makes them do that… and these theories are all very strange and convoluted, it's much easier to believe that something that you, personally, may not like is, in reality, something that other people, mostly, like.</p> Thu, 22 Aug 2024 22:02:35 +0000 Tweak it a bit? https://lwn.net/Articles/986891/ https://lwn.net/Articles/986891/ corbet Just to add to that: the sidebar disappears when the window gets too narrow, and there is also a preference (Maximum width for handset presentation) that lets you control the value of "too narrow". Set that preference to a suitably large number, and the sitebar will be banished forevermore. Thu, 22 Aug 2024 16:40:48 +0000 Tweak it a bit? https://lwn.net/Articles/986890/ https://lwn.net/Articles/986890/ daroc <p> In LWN's case, you can customize how the site appears in <a href="https://lwn.net/MyAccount/preferences/">your preferences</a>. Specifically, you can set the width of the main text element. We don't have a way to hide the sidebar in there, but it does automatically hide itself if the window gets too narrow. </p> Thu, 22 Aug 2024 16:28:13 +0000 Tweak it a bit? https://lwn.net/Articles/986889/ https://lwn.net/Articles/986889/ khim <p>That's not uncommon complaint: LWN, e.g., have the exact same issues.</p> <p>I just come to accept that people are different and these two things are, for some reasons, desired by most readers, or else why would they persist for decades?</p> Thu, 22 Aug 2024 16:24:54 +0000 Tweak it a bit? https://lwn.net/Articles/986735/ https://lwn.net/Articles/986735/ Cyberax <div class="FormattedComment"> A couple of things always bug me:<br> 1. The left panel can't be hidden.<br> 2. The text does not scale to the full size of the screen.<br> </div> Thu, 22 Aug 2024 05:25:43 +0000 This is extremely cool https://lwn.net/Articles/986488/ https://lwn.net/Articles/986488/ Rudd-O <div class="FormattedComment"> Not only is Rust now solidly beginning to wrap and build on the kernel, this documentation is absolutely delightful to read. Seriously, this beats reading C code by a light year.<br> <p> I find that quite often perusing this type of documentation (Rustdoc), even if there is exactly zero human readable text, just the structs and traits, is perfectly adequate to use a crate productively. If that is the way kernel docs are going, then I foresee a 10X jump ie kernel programming productivity for those who use these affordances and contribute to make them more extensive.<br> <p> Sooooooooo nice!<br> </div> Tue, 20 Aug 2024 17:36:32 +0000 I like this https://lwn.net/Articles/986294/ https://lwn.net/Articles/986294/ python <div class="FormattedComment"> I personally find this really accessible compared to learning the C kernel api.<br> </div> Mon, 19 Aug 2024 21:42:04 +0000