Files
linux/Documentation/tools/kdoc_parser.rst
Mauro Carvalho Chehab d842057c4a docs: kdoc_parser: move transform lists to a separate file
Over the time, most of the changes at kernel-doc are related
to maintaining a list of transforms to convert macros into pure
C code.

Place such transforms on a separate module, to cleanup the
parser module.

There is an advantage on that: QEMU also uses our own kernel-doc,
but the xforms list there is different. By placing it on a
separate module, we can minimize the differences and make it
easier to keep QEMU in sync with Kernel upstream.

No functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <ccd74b7589e1fff340a74bf8ed16a974532cb54f.1772469446.git.mchehab+huawei@kernel.org>
2026-03-03 10:47:25 -07:00

38 lines
727 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0
=======================
Kernel-doc parser stage
=======================
C replacement rules used by the parser
======================================
.. automodule:: lib.python.kdoc.xforms_lists
:members:
:show-inheritance:
:undoc-members:
File handler classes
====================
.. automodule:: lib.python.kdoc.kdoc_files
:members:
:show-inheritance:
:undoc-members:
Parsed item data class
======================
.. automodule:: lib.python.kdoc.kdoc_item
:members:
:show-inheritance:
:undoc-members:
Parser classes and methods
==========================
.. automodule:: lib.python.kdoc.kdoc_parser
:members:
:show-inheritance:
:undoc-members: