diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-06-21 14:35:07 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-06-25 11:30:26 -0600 |
commit | 74cee0dfc2fc50e0d53629c289dc9b2954d31b1c (patch) | |
tree | 7a23c3524eb10f159a3caa2aa848233abbca7e01 /scripts/test_doc_build.py | |
parent | e4153a2255b1a0f3398360895e79e7709a0600b2 (diff) |
docs: kdoc: split out the special-section state
The state known as BODY_WITH_BLANK_LINE really, in a convoluted way,
indicates a "special section" that is terminated by a blank line or the
beginning of a new section. That is either "@param: desc" sections, or the
weird "context" section that plays by the same rules.
Rename the state to SPECIAL_SECTION and split its processing into a
separate function; no real changes to the logic yet.
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250621203512.223189-5-corbet@lwn.net
Diffstat (limited to 'scripts/test_doc_build.py')
0 files changed, 0 insertions, 0 deletions