Re: [PATCH 4/4] docs: netlink: store generated .rst files at Documentation/output
From: Jakub Kicinski
Date: Tue Jun 10 2025 - 17:07:43 EST
On Tue, 10 Jun 2025 22:59:11 +0200 Mauro Carvalho Chehab wrote:
> > The question is, are we OK with the templates that need to be created
> > for netlink specs?!
>
> If there's no other way, one might have a tool for maintainers to use
> to update templates, but yeah, having one template per each yaml
> is not ideal. I think we need to investigate it better and seek for
> some alternatives to avoid it.
FWIW we have tools/net/ynl/ynl-regen.sh, it regenerates the C code
we have committed in the tree (uAPI headers mostly).
We could add it there. Which is not to distract from your main
point that not having the templates would be ideal.