Re: [PATCH 4/4] docs: netlink: store generated .rst files at Documentation/output
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-10 21:07:26
Also in:
linux-doc, linux-kernel-mentees, lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-10 21:07:26
Also in:
linux-doc, linux-kernel-mentees, lkml
On Tue, 10 Jun 2025 22:59:11 +0200 Mauro Carvalho Chehab wrote:
quoted
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.