[igt-dev] [PATCH i-g-t 1/1] scripts: add a parser to produce documentation from Kernel C file metatags

Petri Latvala adrinael at adrinael.net
Fri Feb 3 10:16:27 UTC 2023


On Fri, Feb 03, 2023 at 09:26:50AM +0100, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> On a similar approach to Kernel's kernel-doc script, add a parser
> that will produce documentation from special-purpose documentation
> tags inside IGT tests.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
>  scripts/igt-doc | 647 ++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 647 insertions(+)
>  create mode 100755 scripts/igt-doc
> 
> diff --git a/scripts/igt-doc b/scripts/igt-doc
> new file mode 100755
> index 000000000000..3ed2be144e61
> --- /dev/null
> +++ b/scripts/igt-doc
> @@ -0,0 +1,647 @@
> +#!/usr/bin/env perl


When you talked about this beforehand, you talked about using
Python. Does this need to be a perl script? I mean, it's from kernel,
I understand that, but I'll be completely unable to review perl code
myself =(


-- 
Petri Latvala


More information about the igt-dev mailing list