Thread (29 messages) 29 messages, 4 authors, 2025-06-20

Re: [PATCH v4 07/14] tools: ynl_gen_rst.py: move index.rst generator to the script

From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date: 2025-06-14 15:35:34
Also in: linux-doc, linux-kernel-mentees, lkml

Em Sat, 14 Jun 2025 15:15:25 +0100
Donald Hunter [off-list ref] escreveu:
On Sat, 14 Jun 2025 at 09:56, Mauro Carvalho Chehab
[off-list ref] wrote:
quoted
The index.rst generator doesn't really belong to the parsing
function. Move it to the command line tool, as it won't be
used elsewhere.

While here, make it more generic, allowing it to handle either
.yaml or .rst as input files.  
I think this patch can be dropped from the series, if instead you
remove the index generation code before refactoring into a library.
Works for me. I'll wait for you and Jon's comments with regards to the
location before sending a new version.

Regards,
Mauro
quoted
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 scripts/lib/netlink_yml_parser.py  | 101 ++++++++---------------------
 tools/net/ynl/pyynl/ynl_gen_rst.py |  28 +++++++-  


Thanks,
Mauro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help