From 05ff69d1c6b9dc053b6bd80563f6e8cfb044091e Mon Sep 17 00:00:00 2001 From: "Matth?us G. Chajdas" Date: Sat, 24 Nov 2018 17:52:06 +0100 Subject: Fix documentation not building with latest Sphinx. --- pygments/sphinxext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments/sphinxext.py') diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py index f962f8c6..5c8ac8b9 100644 --- a/pygments/sphinxext.py +++ b/pygments/sphinxext.py @@ -16,7 +16,7 @@ import sys from docutils import nodes from docutils.statemachine import ViewList -from sphinx.util.compat import Directive +from docutils.parsers.rst import Directive from sphinx.util.nodes import nested_parse_with_titles -- cgit v1.2.1