Re: [PATCH 1/6] docs: pretty up sysctl/kernel.rst

From: Stephen Kitt
Date: Thu Feb 13 2020 - 14:22:07 EST


Hi Jon,

Thanks for the quick review!

On Thu, 13 Feb 2020 11:52:38 -0700, Jonathan Corbet <corbet@xxxxxxx> wrote:
> On Thu, 13 Feb 2020 18:46:56 +0100
> Stephen Kitt <steve@xxxxxxx> wrote:
[...]
> > diff --git a/Documentation/admin-guide/sysctl/kernel.rst
> > b/Documentation/admin-guide/sysctl/kernel.rst index
> > def074807cee..1de8f0b199b1 100644 ---
> > a/Documentation/admin-guide/sysctl/kernel.rst +++
> > b/Documentation/admin-guide/sysctl/kernel.rst @@ -2,262 +2,188 @@
> > Documentation for /proc/sys/kernel/
> > ===================================
> >
> > -kernel version 2.2.10
> > +Kernel version 2.2.10
>
> I honestly can't see the value of fixing up a line like that. When I
> encounter a kernel document that references something like 2.2.10, I assume
> it's full of dust and cobwebs. I'd just take that out.

Indeed, and I do intend to update it to 5.5. I was planning on ultimately
removing the line above, and only leaving the line mentioning the kernel
version below.

> > Copyright (c) 1998, 1999, Rik van Riel <riel@xxxxxxxxxxxx>
> >
> > -Copyright (c) 2009, Shen Feng<shen@xxxxxxxxxxxxxx>
> > +Copyright (c) 2009, Shen Feng <shen@xxxxxxxxxxxxxx>

Would it also be OK to move these to the end of the document?

> > -For general info and legal blurb, please look in index.rst.
> > +For general info and legal blurb, please look in :doc:`index`.
> >
> > ------------------------------------------------------------------------------
> >
> > This file contains documentation for the sysctl files in
> > -/proc/sys/kernel/ and is valid for Linux kernel version 2.2.
> > +``/proc/sys/kernel/`` and is valid for Linux kernel version 2.2.
>
> This could be tweaked as well. If, after your work, you think it's still
> not current, a warning to that effect should be put in instead.
>
> There's some other dated stuff below that can go as well. Probably this is
> best done in a separate patch.

Agreed.

Regards,

Stephen

Attachment: pgpaFClv07fyz.pgp
Description: OpenPGP digital signature