scripts/kernel-doc.py: move KernelDoc class to a separate file

In preparation for letting kerneldoc Sphinx extension to import
Python libraries, move regex ancillary classes to a separate
file.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/c76df228504e711c6b4bcd23d5a0ea1fda678cda.1744106241.git.mchehab+huawei@kernel.org
This commit is contained in:
Mauro Carvalho Chehab
2025-04-08 18:09:11 +08:00
committed by Jonathan Corbet
parent e31fd36da9
commit d966dc658c
2 changed files with 1692 additions and 1632 deletions

1690
scripts/lib/kdoc/kdoc_parser.py Executable file

File diff suppressed because it is too large Load Diff