Re: [PATCH 00/10] Documentation/Sphinx
From: Jonathan Corbet
Date: Fri Jun 03 2016 - 16:27:43 EST
On Fri, 3 Jun 2016 22:24:03 +0200
Daniel Vetter <daniel.vetter@xxxxxxxx> wrote:
> > This is maybe a job for a separate tool. A related issue is the (fairly
> > frequent) "oh look, none of the comments in $FILE are being used"
> > realization that seems to happen fairly often. It would be nice to check
> > for that, but that's going to be hard to shoehorn into Sphinx.
>
> I think much more valuable would be a tool that checks whether
> comments are pulled in anywhere (for a given source file), over the
> entire tree. Very often entire subsystems carg-cult kernel-doc, but
> never use it in a .tmpl, which means 0-day won't notice, and neither
> anyone else.
That is kind of what I was trying to get at, yes :)
jon