mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
docs: sphinx/kernel_abi: use AbiParser directly
Instead of running get_abi.py script, import AbiParser class and handle messages directly there using an interactor. This shold save some memory, as there's no need to exec python inside the Sphinx python extension. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/8dbc244dcda97112c1b694e2512a5d600e62873b.1739182025.git.mchehab+huawei@kernel.org
This commit is contained in:
committed by
Jonathan Corbet
parent
9bec7870c6
commit
ee34f8300c
@@ -427,7 +427,7 @@ class AbiParser:
|
||||
|
||||
return new_desc + "\n\n"
|
||||
|
||||
def doc(self, enable_lineno, output_in_txt, show_file=False):
|
||||
def doc(self, enable_lineno, output_in_txt=False, show_file=False):
|
||||
"""Print ABI at stdout"""
|
||||
|
||||
part = None
|
||||
|
||||
Reference in New Issue
Block a user