20/11/2024 15:41, Luca Vizzarro: > Sphinx-autodoc issues warnings about some symbols due to bad autodoc > "automock"ing when optional dependencies are missing. > > The current meson setup allows to treat warnings as errors, halting the > process and exiting early. Given these warnings should be ignored, this > patch removes this behavior.
So the patch is not fixing warnings, it allows them. I will change the title. > Until optional dependencies are enforced, > warnings for DTS API docs will be checked manually as part of the DTS > approval process. No, optional dependencies should never be enforced. [...] > -if get_option('werror') > - extra_sphinx_args += '-W' > -endif