[LTP] [RFC] Remove [Description] subtitle from docparse

Andrea Cervesato andrea.cervesato@suse.com
Fri Jan 31 11:48:28 CET 2025


On 1/31/25 11:34, Petr Vorel wrote:
> Hi Andrea,
>
>> Hi Petr,
>> I'm currently working on parsing metadata in order to produce a tests list
>> in the LTP documentation.
> FYI I planned to work on it (announced in ML [1]), but since you started I stop
> working on it.
I'm sorry, I didn't read carefully. The results will come out soon tho, 
I will send the patch-set soon.
>
>> I just replace "[Description]" with "**Description**". Same for
>> "[Algorithm]".
>> I would keep the bold version tho, with the double star **.
> We talk about a different things. You about the conversion of the subtitles to
> the final documentation (previously was done in docparse/testinfo.pl, now you
> will do it in python).
>
> But I'm suggesting to entirely remove subtitle "Description". It looks to me
> useless and some people don't add it thus docs looks inconsistent.
The thing is that there's not only [Description], but there's also 
[Algorithm]. Maybe we can think about the tests description as a whole 
RST code that will be injected inside the documentation website once 
it's published. In this way, conversion would be much easier.
> Kind regards,
> Petr
>
>> Andrea
>> On 1/31/25 10:15, Petr Vorel wrote:
>>> Hi,
>>> Can we remove [Description] part from docparse documentation in tests?
>>> This is transformed into "Description" subtitle in resulted html/pdf.
>>> 1) It's not really needed (it's obvious that it's a description of the test)
>>> 2) Sometimes it's missing (inconsistency).
>>> I would keep other subtitles (e.g. [Algorithm]), just remove the first one.
>>> Kind regards,
>>> Petr
> [1] https://lore.kernel.org/ltp/20241227073921.GB290415@pevik/
Andrea


More information about the ltp mailing list