Re: [PATCH RFC] doc: Include pytests directly in documentation

2025-03-07 Thread Tom Rini
On Thu, Mar 06, 2025 at 05:03:02PM +0100, Heinrich Schuchardt wrote: > On 25.02.25 21:50, Tom Rini wrote: > > As there is support within the Sphinx framework to take Python > > docstrings and generate documentation from it, we can make use of that > > to more clearly and consistently document our p

Re: [PATCH RFC] doc: Include pytests directly in documentation

2025-03-06 Thread Heinrich Schuchardt
On 25.02.25 21:50, Tom Rini wrote: As there is support within the Sphinx framework to take Python docstrings and generate documentation from it, we can make use of that to more clearly and consistently document our pytests and how to configure them. To do this we: - Add PYTHONPATH to DOC_TARGETS

[PATCH RFC] doc: Include pytests directly in documentation

2025-02-25 Thread Tom Rini
As there is support within the Sphinx framework to take Python docstrings and generate documentation from it, we can make use of that to more clearly and consistently document our pytests and how to configure them. To do this we: - Add PYTHONPATH to DOC_TARGETS so that modules will be found, have C