Re: [PATCH v8 06/13] docs: use parser_yaml extension to handle Netlink specs

Mauro Carvalho Chehab
2025-07-09T15:25:23Z

Em Fri, 27 Jun 2025 11:28:40 +0100
Donald Hunter <donald.hunter@gmail.com> escreveu:

> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
>
> > Instead of manually calling ynl_gen_rst.py, use a Sphinx extension.
> > This way, no .rst files would be written to the Kernel source
> > directories.
> >
> > We are using here a toctree with :glob: property. This way, there
> > is no need to touch the netlink/specs/index.rst file every time
> > a new Netlink spec is added/renamed/removed.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> > Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
>
> This patch doesn't currently merge in the net-next tree because it
> depends on a series in docs-next.

True. It has to either be applied on docs-next or you need to merge
from it if you want to apply on your tree.

This patch depends at the changes there to properly address
include_pattern/exclude_pattern.

Regards,
Mauro