| commit | aa14cdd42052317e4d5d0283d82ac9a6475b67cf | [log] [tgz] |
|---|---|---|
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sat Sep 06 23:30:43 2025 +0200 |
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Sep 09 18:12:26 2025 +0200 |
| tree | 237f207a1d80f81a576fb8f0cbe9f3f5bcf1fe96 | |
| parent | 7e5a0fe4e8ae2eb341f8ebbee2b24231a58fc28b [diff] |
kernel-doc: add support for handling global variables Specially on kAPI, sometimes it is desirable to be able to describe global variables that are part of kAPI. Documenting vars with Sphinx is simple, as we don't need to parse a data struct. All we need is the variable declaration and use natice C domain ::c:var: to format it for us. Add support for it. Link: https://lore.kernel.org/linux-doc/491c3022-cef8-4860-a945-c9c4a3b63c09@infradead.org/T/#m947c25d95cb1d96a394410ab1131dc8e9e5013f1 Suggested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>