[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZgWGuQIiPxiQh2PA@gmail.com>
Date: Thu, 28 Mar 2024 08:03:21 -0700
From: Breno Leitao <leitao@...ian.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Jiri Pirko <jiri@...nulli.us>,
Alessandro Marcolini <alessandromarcolini99@...il.com>,
donald.hunter@...hat.com
Subject: Re: [PATCH net-next v1 1/3] doc: netlink: Change generated docs to
limit TOC to depth 3
On Tue, Mar 26, 2024 at 08:13:09PM +0000, Donald Hunter wrote:
> The tables of contents in the generated Netlink docs include individual
> attribute definitions. This can make the contents exceedingly long and
> repeats a lot of what is on the rest of the pages. See for example:
>
> https://docs.kernel.org/networking/netlink_spec/tc.html
>
> Add a depth limit to the contents directive in generated .rst files to
> limit the contents depth to 3 levels. This reduces the contents to:
>
> - Family
> - Summary
> - Operations
> - op-one
> - op-two
> - ...
> - Definitions
> - struct-one
> - struct-two
> - enum-one
> - ...
> - Attribute sets
> - attrs-one
> - attrs-two
> - ...
>
> Signed-off-by: Donald Hunter <donald.hunter@...il.com>
Reviewed-by: Breno Leitao <leitao@...ian.org>
Powered by blists - more mailing lists