Em Fri, 13 Jun 2025 12:13:28 +0100 Donald Hunter <donald.hunter@xxxxxxxxx> escreveu: > Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes: > > > As we'll be using the Netlink specs parser inside a Sphinx > > extension, move the library part from the command line parser. > > > > No functional changes. > > > > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> > > --- > > scripts/lib/netlink_yml_parser.py | 391 +++++++++++++++++++++++++++++ > > tools/net/ynl/pyynl/ynl_gen_rst.py | 374 +-------------------------- > > I think the library code should be put in tools/net/ynl/pyynl/lib > because it is YNL specific code. Maybe call it rst_generator.py We had a similar discussion before when we switched get_abi and kernel-doc to Python. On that time, we opted to place all shared Python libraries under scripts/lib.