Re: [PATCH 4/4] docs: netlink: store generated .rst files at Documentation/output

Jakub Kicinski <[email protected]>
Newsgroups dev.linux.lists.lkmm,dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.