linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* parse_headers.pl ?
@ 2025-10-15 21:49 Randy Dunlap
  2025-10-16 14:50 ` Jonathan Corbet
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2025-10-15 21:49 UTC (permalink / raw)
  To: Linux Documentation

Hi,

Documentation/doc-guide/parse-headers.rst talks about some
parse_headers.pl file but I cannot find such a file.

Is there a replacement for this documentation?
What should it be?

thanks.
-- 
~Randy


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

* Re: parse_headers.pl ?
  2025-10-15 21:49 parse_headers.pl ? Randy Dunlap
@ 2025-10-16 14:50 ` Jonathan Corbet
  2025-10-17  8:47   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Corbet @ 2025-10-16 14:50 UTC (permalink / raw)
  To: Randy Dunlap, Linux Documentation; +Cc: Mauro Carvalho Chehab

Randy Dunlap <rdunlap@infradead.org> writes:

> Hi,
>
> Documentation/doc-guide/parse-headers.rst talks about some
> parse_headers.pl file but I cannot find such a file.
>
> Is there a replacement for this documentation?
> What should it be?

Mauro deleted it in aebcc3009ed5; clearly there's some docs work that
needs to be done to finish the job.

jon

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

* Re: parse_headers.pl ?
  2025-10-16 14:50 ` Jonathan Corbet
@ 2025-10-17  8:47   ` Mauro Carvalho Chehab
  2025-10-17 17:27     ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2025-10-17  8:47 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Randy Dunlap, Linux Documentation, Mauro Carvalho Chehab

Em Thu, 16 Oct 2025 08:50:55 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:

> Randy Dunlap <rdunlap@infradead.org> writes:
> 
> > Hi,
> >
> > Documentation/doc-guide/parse-headers.rst talks about some
> > parse_headers.pl file but I cannot find such a file.
> >
> > Is there a replacement for this documentation?
> > What should it be?  

Good catch!

> Mauro deleted it in aebcc3009ed5; clearly there's some docs work that
> needs to be done to finish the job.

Yes, it was replaced with:

	tools/docs/parse-headers.py

And its library:
	tools/docs/lib/parse_data_structs.py

The command line options changed a little bit: 
- it doesn't have anymore a --usage
- it gained a --toc option.

While it still does what it is documented there, it received some 
improvements during the conversion, and has gained --toc.

I updated its documentation at the source code on both the library,
with is about the same content of the .rst file.

Some of those changes are on a patch series not merged yet:
	https://lore.kernel.org/linux-doc/cover.1759329363.git.mchehab+huawei@kernel.org/

I'll seek for some time to update parse-headers.rst to reflect such
changes.

Regards,
Mauro

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

* Re: parse_headers.pl ?
  2025-10-17  8:47   ` Mauro Carvalho Chehab
@ 2025-10-17 17:27     ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2025-10-17 17:27 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Jonathan Corbet
  Cc: Linux Documentation, Mauro Carvalho Chehab



On 10/17/25 1:47 AM, Mauro Carvalho Chehab wrote:
> Em Thu, 16 Oct 2025 08:50:55 -0600
> Jonathan Corbet <corbet@lwn.net> escreveu:
> 
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>
>>> Hi,
>>>
>>> Documentation/doc-guide/parse-headers.rst talks about some
>>> parse_headers.pl file but I cannot find such a file.
>>>
>>> Is there a replacement for this documentation?
>>> What should it be?  
> 
> Good catch!
> 
>> Mauro deleted it in aebcc3009ed5; clearly there's some docs work that
>> needs to be done to finish the job.
> 
> Yes, it was replaced with:
> 
> 	tools/docs/parse-headers.py
> 
> And its library:
> 	tools/docs/lib/parse_data_structs.py
> 
> The command line options changed a little bit: 
> - it doesn't have anymore a --usage
> - it gained a --toc option.
> 
> While it still does what it is documented there, it received some 
> improvements during the conversion, and has gained --toc.
> 
> I updated its documentation at the source code on both the library,
> with is about the same content of the .rst file.
> 
> Some of those changes are on a patch series not merged yet:
> 	https://lore.kernel.org/linux-doc/cover.1759329363.git.mchehab+huawei@kernel.org/
> 
> I'll seek for some time to update parse-headers.rst to reflect such
> changes.

Great. Thank you.

-- 
~Randy


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

end of thread, other threads:[~2025-10-17 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 21:49 parse_headers.pl ? Randy Dunlap
2025-10-16 14:50 ` Jonathan Corbet
2025-10-17  8:47   ` Mauro Carvalho Chehab
2025-10-17 17:27     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).