LWN: Comments on "Kernel documentation with Sphinx, part 1: how we got here" https://lwn.net/Articles/692704/ This is a special feed containing comments posted to the individual LWN article titled "Kernel documentation with Sphinx, part 1: how we got here". en-us Thu, 16 Oct 2025 06:38:06 +0000 Thu, 16 Oct 2025 06:38:06 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694876/ https://lwn.net/Articles/694876/ ortalo <div class="FormattedComment"> Just a quick ref., cause... I knew the woman who knew the man who... and also cause it seems to me it's worth reading or listening (again).<br> <p> Sorry for not finding a good link to the full (published) paper but the slides are here: <a href="http://fose.ethz.ch/slides/parnas.pdf">http://fose.ethz.ch/slides/parnas.pdf</a><br> <p> and you will find a video around here: <a href="https://youtu.be/dn8bVhfAv0c">https://youtu.be/dn8bVhfAv0c</a><br> <p> </div> Tue, 19 Jul 2016 16:10:37 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694802/ https://lwn.net/Articles/694802/ neilbrown <div class="FormattedComment"> I feel compelled to quote some wise words from a favorite novel by Jane Austen:<br> <p> "My fingers," said Elizabeth, "do not move over this instrument<br> in the masterly manner which I see so many women's do. They<br> have not the same force or rapidity, and do not produce the<br> same expression. But then I have always supposed it to be my<br> own fault--because I will not take the trouble of practising.<br> <p> </div> Mon, 18 Jul 2016 21:30:38 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694793/ https://lwn.net/Articles/694793/ liw <div class="FormattedComment"> It has, in fact, been my experience that software developers will avoid writing prose longer than a line on IRC. They will got great lengths to avoid it, up to and including standing between decorative bushes of vegetation while wearing camouflage clothing.<br> <p> It's sad, and not just because it makes those of us who like writing to stand out.<br> </div> Mon, 18 Jul 2016 18:26:00 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694736/ https://lwn.net/Articles/694736/ jezuch <div class="FormattedComment"> <font class="QuotedText">&gt; I think literate programing can work very well when the programmer fully understands the problem they are trying to solve and can then present it coherently as a lesson to the reader.</font><br> <p> Obviously, it also helps if the person writing it all is a good writer. Most of us suck at this :)<br> </div> Mon, 18 Jul 2016 09:07:16 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694732/ https://lwn.net/Articles/694732/ neilbrown <div class="FormattedComment"> <font class="QuotedText">&gt; So, this is the acceptance of Knuth's concept of literate programming, or are we still not there yet?</font><br> <p> long long way from Knuth's literate programming.<br> <p> LP wasn't just about writing better comments. It also involved changing the order in which code was written so that ideas could be developed in an order that made sense to the human reader, often quite different to the order that the compiler wants.<br> This isn't just re-arranging function declarations. It might also mean writing a rough outline of a function with various "blanks", then filling in the blanks one by one after explaining them.<br> <p> I think literate programing can work very well when the programmer fully understands the problem they are trying to solve and can then present it coherently as a lesson to the reader. A lesson which can be compiled and run to show that it works.<br> I don't think it works well at all for code which is being built by engineers who are coming to understand the problem as they go (most of us) and for whom the requirements change between the start and end of the project (though of course, that would never happen!).<br> <p> I think that for code that is under development, having significant documentation in with the code is a mistake as it is very likely to become out of date quickly. Having documentation in with the code only makes sense (to me) once the code has stabilized. Then there is at least some chance that the documentation will be vaguely accurate for more than one day.<br> <p> Certainly some people can make the effort to update documentation whenever they change the code. Both of the people who do that are worth their weight in gold and I respect them. But I doubt I could ever emulate them.<br> <p> </div> Mon, 18 Jul 2016 06:58:56 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/694731/ https://lwn.net/Articles/694731/ sachingarg <div class="FormattedComment"> So, this is the acceptance of Knuth's concept of literate programming, or are we still not there yet?<br> </div> Mon, 18 Jul 2016 05:16:35 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/693726/ https://lwn.net/Articles/693726/ domo <div class="FormattedComment"> Thanks Jani, that was good read while pondering between asciidoc &amp; rst (markdown is<br> usually no-go due to lack of features or standard (i.e. choose either))<br> </div> Thu, 07 Jul 2016 13:07:46 +0000 Kernel documentation with Sphinx, part 1: how we got here https://lwn.net/Articles/693509/ https://lwn.net/Articles/693509/ gwhaley <div class="FormattedComment"> Having been sat on the periphery of this long running process, and having some understanding of the tangle that had to be unwound and the intricate and many faceted issues that had to be solved - well done all involved! I think we can look forward to a new era of kernel documentation.<br> </div> Wed, 06 Jul 2016 09:07:44 +0000