Files
linux/tools
Mauro Carvalho Chehab 242cfe3f77 tools: docs: parse_data_structs.py: add methods to return output
When running it from command line, we want to write an output
file, but when used as a class, one may just want the output
content returned as a string.

Split write_output() on two methods to allow both usecases.

Also add an extra method to produce a TOC.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/c98bdec3380aad54178baf2751a2f1fcd128576b.1755872208.git.mchehab+huawei@kernel.org
2025-08-29 15:54:42 -06:00
..
2025-06-26 10:51:41 -07:00
2025-07-23 11:55:22 +02:00
2025-03-06 15:13:13 -04:00
2025-04-22 19:10:04 +01:00
2025-07-28 16:47:35 -04:00
2025-04-28 17:18:48 -07:00