]> git.baikalelectronics.ru Git - kernel.git/commit
doc/sphinx: Stop touching state_machine internals
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Jun 2016 12:59:18 +0000 (14:59 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 3 Jun 2016 08:31:37 +0000 (11:31 +0300)
commit0e4e5c85feb927708eb51d08b72d899fb59232b1
tree9b352ffff0fa3ef266bbe388ec1c22f4b968f999
parenta7f921acad9efdcb797bf2628770fe8aef562244
doc/sphinx: Stop touching state_machine internals

Instead of just forcefully inserting our kernel-doc input and letting
the state machine stumble over it the recommended way is to create
ViewList, parse that and then return the list of parsed nodes.

Suggested by Jani.

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