Re: [PATCH v4 7/8] dts: improve configuration API docs

2024-11-04 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Mon, Oct 28, 2024 at 1:51 PM Luca Vizzarro wrote: > > Pydantic models are not treated the same way as dataclasses by autodoc. > As a consequence the docstrings need to be applied directly to each > field. Otherwise the generated API documentation page would presen

[PATCH v4 7/8] dts: improve configuration API docs

2024-10-28 Thread Luca Vizzarro
Pydantic models are not treated the same way as dataclasses by autodoc. As a consequence the docstrings need to be applied directly to each field. Otherwise the generated API documentation page would present two entries per each field with each their own differences. Signed-off-by: Luca Vizzarro