[PATCH 0/1] docs: kernel-doc: doesn't suppress error/warnings

Mauro Carvalho Chehab posted 1 patch 7 months ago
Documentation/sphinx/kerneldoc.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
[PATCH 0/1] docs: kernel-doc: doesn't suppress error/warnings
Posted by Mauro Carvalho Chehab 7 months ago
As discussed at:
   https://lore.kernel.org/all/20250516200350.63be46cd@canb.auug.org.au/

Sphinx logger is set in a way that errors/warnings from kernel-doc are
suppressed, except when V=1.

Finding the root cause is not trivial, as we need to go into the Sphinx
overlays on the top of Python's default logger class. Instead, let's take
the trivial approach: use logger class directly. As we can later revisit
such decision, let's add a comment at the code.

Mauro Carvalho Chehab (1):
  docs: kerneldoc.py: don't use Sphinx logger

 Documentation/sphinx/kerneldoc.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.49.0