The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/8] Yet another set of kerneldoc simplifications
@ 2025-06-27 18:39 Jonathan Corbet
  2025-06-27 18:39 ` [PATCH 1/8] docs: kdoc: remove KernelEntry::in_doc_sect Jonathan Corbet
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Jonathan Corbet @ 2025-06-27 18:39 UTC (permalink / raw)
  To: linux-doc
  Cc: linux-kernel, Mauro Carvalho Chehab, Akira Yokosawa,
	Jonathan Corbet

As I continue to work through our shiny new kerneldoc, I keep finding ways
to make it (IMO) shinier.  This set covers these basic areas:

- Remove some unused fields from the KernelEntry class, and encapsulate the
  handling of the section contentions therein.

- Clean up and optimize the EXPORT_SYMBOL processing slightly.

- Rework the handling of inline comments by getting rid of the substate
  design and separating out the processing of the states that remain.

The series results in no changes in the generated output.

Jonathan Corbet (8):
  docs: kdoc: remove KernelEntry::in_doc_sect
  docs: kdoc: Move content handling into KernelEntry
  docs: kdoc: remove a bit of dead code
  docs: kdoc: remove KernelEntry::function
  docs: kdoc: rework process_export() slightly
  docs: kdoc: remove the INLINE_END state
  docs: kdoc: remove the inline states-within-a-state
  docs: kdoc: split the processing of the two remaining inline states

 scripts/lib/kdoc/kdoc_parser.py | 170 +++++++++++++-------------------
 1 file changed, 67 insertions(+), 103 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-06-28 14:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 18:39 [PATCH 0/8] Yet another set of kerneldoc simplifications Jonathan Corbet
2025-06-27 18:39 ` [PATCH 1/8] docs: kdoc: remove KernelEntry::in_doc_sect Jonathan Corbet
2025-06-27 18:39 ` [PATCH 2/8] docs: kdoc: Move content handling into KernelEntry Jonathan Corbet
2025-06-27 18:39 ` [PATCH 3/8] docs: kdoc: remove a bit of dead code Jonathan Corbet
2025-06-27 18:39 ` [PATCH 4/8] docs: kdoc: remove KernelEntry::function Jonathan Corbet
2025-06-27 18:39 ` [PATCH 5/8] docs: kdoc: rework process_export() slightly Jonathan Corbet
2025-06-27 18:39 ` [PATCH 6/8] docs: kdoc: remove the INLINE_END state Jonathan Corbet
2025-06-27 18:39 ` [PATCH 7/8] docs: kdoc: remove the inline states-within-a-state Jonathan Corbet
2025-06-27 18:40 ` [PATCH 8/8] docs: kdoc: split the processing of the two remaining inline states Jonathan Corbet
2025-06-28 14:22 ` [PATCH 0/8] Yet another set of kerneldoc simplifications Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox