• Daniel Vetter's avatar
    doc/sphinx: Enable keep_warnings · 47d6d752
    Daniel Vetter authored
    Unfortunately warnings generated after parsing in sphinx can end up
    with entirely bogus files and line numbers as sources. Strangely for
    outright errors this is not a problem. Trying to convert warnings to
    errors also doesn't fix it.
    
    The only way to get useful output out of sphinx to be able to root
    cause the error seems to be enabling keep_warnings, which inserts
    a System Message into the actual output. Not pretty at all, but I
    don't really want to fix up core rst/sphinx code, and this gets the job
    done meanwhile.
    
    Cc: Markus Heiser <markus.heiser@darmarit.de>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: linux-doc@vger.kernel.org
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    47d6d752
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...