Re: [PATCH 01/42] docs/qapidoc: support header-less freeform sections

2025-02-11 Thread John Snow
On Tue, Feb 11, 2025, 9:51 AM Markus Armbruster wrote: > John Snow writes: > > > The code as written can't handle if a header isn't found and will crash, > > because `node` will be uninitialized. If we don't have a section title, > > create a generic block to insert text into instead. > > Sugges

Re: [PATCH 01/42] docs/qapidoc: support header-less freeform sections

2025-02-11 Thread Markus Armbruster
John Snow writes: > The code as written can't handle if a header isn't found and will crash, > because `node` will be uninitialized. If we don't have a section title, > create a generic block to insert text into instead. Suggest to show input that makes it crash. Something like The code as w

[PATCH 01/42] docs/qapidoc: support header-less freeform sections

2025-02-05 Thread John Snow
The code as written can't handle if a header isn't found and will crash, because `node` will be uninitialized. If we don't have a section title, create a generic block to insert text into instead. (This patch also removes a lingering pylint warning in the QAPIDoc implementation that prevents getti