]> git.baikalelectronics.ru Git - kernel.git/commit
doc/sphinx: Pass right filename as source
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 Jun 2016 09:12:42 +0000 (11:12 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 1 Jun 2016 09:28:31 +0000 (12:28 +0300)
commit87a992f5e25b9e44a1bb4c9e8111564f41ce5637
tree954538e4cdbf2285107656ec5503bfd93f83841c
parent6e7909a6c110d9c40e34960472c73a8694f0ebfb
doc/sphinx: Pass right filename as source

With this error output becomes almost readable. The line numbers are
still totally bonghits, but that's a lot harder to pull out of
kerneldoc. We'd essentially have to insert some special markers in the
kernel-doc output, split the output along these markers and then
insert each block separately using

     state_machine.insert_input(block, source, first_line)

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: linux-doc@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/sphinx/kernel-doc.py