Re: [PATCH] docs/sphinx: fix extra stuff in TOC after freeform QMP sections

2024-08-27 Thread Markus Armbruster
John Snow writes: > Freeform sections with titles are currently generating a TOC entry for > the first paragraph in the section after the header, which is not what > we want. > > (Easiest to observe directly in the QMP reference manual's > "Introduction" section.) > > When freeform sections are p

[PATCH] docs/sphinx: fix extra stuff in TOC after freeform QMP sections

2024-08-22 Thread John Snow
Freeform sections with titles are currently generating a TOC entry for the first paragraph in the section after the header, which is not what we want. (Easiest to observe directly in the QMP reference manual's "Introduction" section.) When freeform sections are parsed, we create both a section he