[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pmsodjam5jjih3v3fogokfyshn44izvouhihkijvfxazmmbqoo@hi7b3klfk7nv>
Date: Tue, 16 Sep 2025 11:36:25 +0200
From: Michal Koutný <mkoutny@...e.com>
To: Bagas Sanjaya <bagasdotme@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Documentation <linux-doc@...r.kernel.org>, Linux cgroups <cgroups@...r.kernel.org>,
Jonathan Corbet <corbet@....net>, Tejun Heo <tj@...nel.org>, Johannes Weiner <hannes@...xchg.org>,
Andrea Righi <arighi@...dia.com>, Johannes Bechberger <me@...tlynerdless.de>,
Changwoo Min <changwoo@...lia.com>, Shashank Balaji <shashank.mahadasyam@...y.com>,
Ingo Molnar <mingo@...nel.org>, Jake Rice <jake@...erice.dev>, Cengiz Can <cengiz@...nel.wtf>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: Re: [PATCH v2 2/4] Documentation: cgroup-v2: Add section numbers
On Mon, Sep 15, 2025 at 07:40:29PM +0700, Bagas Sanjaya <bagasdotme@...il.com> wrote:
> > Erm, so in addition to keeping manual ToC in sync, we'd also need to
> > maintain the section numbers manually?
>
> Right.
I mean -- that's not right. Either generate all automatically (original
approach) or simplify maintenance of the manual ToC (as liked by Tejun)
by stripping (meaningless?) manual numbers.
> > What about dropping the numbers from manual ToC and sections? (If manual
> > ToC is to be preserved.)
>
> Nope. To be fair, we also want section numbers for htmldocs readers, though.
That'd be better automatic too
https://docutils.sourceforge.io/docs/ref/rst/directives.html#automatic-section-numbering
Thanks that you look into this!
Michal
Download attachment "signature.asc" of type "application/pgp-signature" (266 bytes)
Powered by blists - more mailing lists