summaryrefslogtreecommitdiff
path: root/pygments/sphinxext.py
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2018-11-24 17:52:06 +0100
committerMatth?us G. Chajdas <dev@anteru.net>2018-11-24 17:52:06 +0100
commit6bc8c0de737b181566fa66bc29f5fef4bc6ab11c (patch)
treef86f988041fcc77e6ef7edfbc6828f1491f96265 /pygments/sphinxext.py
parent72b98953d2dd8db2a909595eea718744ed7ee318 (diff)
downloadpygments-6bc8c0de737b181566fa66bc29f5fef4bc6ab11c.tar.gz
Fix documentation not building with latest Sphinx.
Diffstat (limited to 'pygments/sphinxext.py')
-rw-r--r--pygments/sphinxext.py2
1 files changed, 1 insertions, 1 deletions
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