-
Hangbin Liu authored
JIRA: https://issues.redhat.com/browse/RHEL-123090 Upstream Status: net.git commit 1ce4da3dd99e commit 1ce4da3dd99e98bd4a8b396c291041080e0fe85e Author: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Date: Thu Jun 12 10:34:30 2025 +0200 docs: use parser_yaml extension to handle Netlink specs 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> Signed-off-by:
Hangbin Liu <haliu@redhat.com>
Hangbin Liu authoredJIRA: https://issues.redhat.com/browse/RHEL-123090 Upstream Status: net.git commit 1ce4da3dd99e commit 1ce4da3dd99e98bd4a8b396c291041080e0fe85e Author: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Date: Thu Jun 12 10:34:30 2025 +0200 docs: use parser_yaml extension to handle Netlink specs 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> Signed-off-by:
Hangbin Liu <haliu@redhat.com>
Loading