Skip to content

Commit ed3c4df

Browse files
committed
Merge tag 'docs-4.16-fix' of git://git.lwn.net/linux
Pull Documentation build fix from Jonathan Corbet: "The Sphinx 1.7 release broke the build process for reasons that are mostly our fault. This is a single fix cherry-picked from docs-next that restores docs buildability for all supported Sphinx versions" * tag 'docs-4.16-fix' of git://git.lwn.net/linux: Documentation/sphinx: Fix Directive import error
2 parents cfc79ae + ff690ee commit ed3c4df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Documentation/sphinx/kerneldoc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636

3737
from docutils import nodes, statemachine
3838
from docutils.statemachine import ViewList
39-
from docutils.parsers.rst import directives
40-
from sphinx.util.compat import Directive
39+
from docutils.parsers.rst import directives, Directive
4140
from sphinx.ext.autodoc import AutodocReporter
4241

4342
__version__ = '1.0'

0 commit comments

Comments
 (0)