Re: [PATCH v3] Documentation/sphinx: Fix Directive import error

From: Jonathan Corbet
Date: Wed Mar 07 2018 - 12:12:52 EST


On Fri, 2 Mar 2018 10:40:14 -0800
Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> 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@xxxxxxx>
> Signed-off-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>

FWIW, I've *finally* gotten a chance to test this with a few sphinx
versions; it works just fine, of course. Will get it upstream shortly.

Thanks,

jon