Documentation/sphinx: Fix Directive import error
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 2 Mar 2018 18:40:14 +0000 (10:40 -0800)
committerJonathan Corbet <corbet@lwn.net>
Fri, 9 Mar 2018 17:46:14 +0000 (10:46 -0700)
commitff690eeed804f112242f9a0614eafdf559f9276a
tree2fefd2e6ffd8737185866ad0179aefb8841b5d6a
parente67548254b86a4a6e1b493f041bb7fe28ee74249
Documentation/sphinx: Fix Directive import error

Sphinx 1.7 removed sphinx.util.compat.Directive so people
who have upgraded cannot build the documentation.  Switch to
docutils.parsers.rst.Directive which has been available since
docutils 0.5 released in 2009.

Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1083694
Co-developed-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx/kerneldoc.py