docs: kdoc_item: fix a typo on sections_start_lines

Currently, there are 15 occurrences of section?_start_lines,
with 10 using the plural way.

This is an issue, as, while kdoc_output works with KdocItem,
the term doesn't match its init value.

The variable sections_start_lines stores multiple sections,
so placing it in plural is its correct way.

So, ensure that, on all parts of kdoc, this will be referred
as sections_start_lines.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <d1e0f1d3f80df41c11a1bbde6a12fd9468bc3813.1773823995.git.mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab
2026-03-18 10:11:08 +01:00
committed by Jonathan Corbet
parent 99364ba7f8
commit e394855fcc
3 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ class KdocItem:
Set sections and start lines.
"""
self.sections = sections
self.section_start_lines = start_lines
self.sections_start_lines = start_lines
def set_params(self, names, descs, types, starts):
"""