diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-08-22 16:19:19 +0200 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2025-08-29 15:54:42 -0600 |
| commit | 242cfe3f774e8a41d0b27d4664247f58d0a8d039 (patch) | |
| tree | 1c6593bd67f68e296d1f028ccf362ff031ecdcc9 /scripts/lib/kdoc/kdoc_files.py | |
| parent | cde494660f561909ad44a27037c7155454159136 (diff) | |
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
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
