]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: Sphinx: kerneldoc: only initialize kernel-doc classes once
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 25 Apr 2025 07:13:38 +0000 (15:13 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 28 Apr 2025 23:28:14 +0000 (17:28 -0600)
commitb437bf2dc577b100824b4d28c26792b206278ef3
tree74f28898165a42753fe89552f692665f2e1a34b2
parent292c39b4d78c296e29220a928d05a53f5e64747d
docs: Sphinx: kerneldoc: only initialize kernel-doc classes once

Instead of re-creating the objects every time, initialize it
just once.

This allows caching previously parsed objects.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <b00788f26e161512858a6e01a673c34743c954df.1745564565.git.mchehab+huawei@kernel.org>
Documentation/sphinx/kerneldoc.py