Skip to content
Commit 61779ce0 authored by Jonathan Corbet's avatar Jonathan Corbet Committed by Tom Rini
Browse files

doc: Cope with Sphinx logging deprecations



Recent versions of sphinx will emit messages like:

  doc/sphinx/kerneldoc.py:103:
     RemovedInSphinx20Warning: app.warning() is now deprecated.
     Use sphinx.util.logging instead.

Switch to sphinx.util.logging to make this unsightly message go away.
Alas, that interface was only added in version 1.6, so we have to add a
version check to keep things working with older sphinxes.

Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Rebased for U-Boot
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent edd31084
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment