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)
commit16e161c8c67ac3b27cfc096cf07af9bceb144707
tree9b352ffff0fa3ef266bbe388ec1c22f4b968f999
parentebff7f929b2a72fa614f5e95fd34c56c82ac9c36
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