On Wed, Aug 14, 2024 at 11:05 AM Juraj Linkeš
<[email protected]> wrote:
>
> Sphinx imports every Python module (through the autodoc extension)
> when generating documentation from docstrings, meaning all DTS
> dependencies, including Python version, should be satisfied. This is not
> a hard requirement, as imports from dependencies may be mocked in the
> autodoc_mock_imports autodoc option.
> In case DTS developers want to use a Sphinx installation from their
> virtualenv, we provide an optional Poetry group for doc generation. The
> pyelftools package is there so that meson picks up the correct Python
> installation, as pyelftools is required by the build system.
>
> Signed-off-by: Juraj Linkeš <[email protected]>

Reviewed-by: Jeremy Spewock <[email protected]>

Reply via email to