[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65ff7a88e93fb_2690d29429@dwillia2-mobl3.amr.corp.intel.com.notmuch>
Date: Sat, 23 Mar 2024 17:57:45 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Matthew Wilcox <willy@...radead.org>, Dan Williams
<dan.j.williams@...el.com>
CC: Peter Zijlstra <peterz@...radead.org>, <torvalds@...ux-foundation.org>,
Bjorn Helgaas <bhelgaas@...gle.com>, Ira Weiny <ira.weiny@...el.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>, Jesse Brandeburg
<jesse.brandeburg@...el.com>, Ilpo Järvinen
<ilpo.jarvinen@...ux.intel.com>, Lukas Wunner <lukas.wunner@...el.com>,
Jonathan Corbet <corbet@....net>, <linux-pci@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <gregkh@...uxfoundation.org>,
<linux-doc@...r.kernel.org>
Subject: Re: [PATCH] cleanup: Add usage and style documentation
Matthew Wilcox wrote:
> On Fri, Mar 22, 2024 at 12:10:38PM -0700, Dan Williams wrote:
> > Peter Zijlstra wrote:
> > > So I despise all that RST stuff. It makes what should be trivially
> > > readable text into a trainwreck. We're coders, we use text editors to
> > > read comments.
> >
> > Ok, I will rip out the RST stuff and just make this a standalone comment.
>
> I would rather you ignored Peter's persistent whining about RST and
> kept the formatting.
Hmm, how about split the difference and teach scripts/kernel-doc to treat
Peter's preferred markup for a C code example as a synonym, i.e.
effectively a search and replace of a line with only:
Ex.
..with:
.. code-block:: c
..within a kernel-doc DOC: section?
Might be easier said the done as I stare down a pile of perl. Maybe a
perl wrangler will come along and take pity on this patch.
Powered by blists - more mailing lists