summaryrefslogtreecommitdiff
path: root/pygments/sphinxext.py
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2018-11-27 20:11:05 +0000
committerAnteru <bitbucket@ca.sh13.net>2018-11-27 20:11:05 +0000
commit6e9ff69fc49c7c86a57e2a7b7180321e20168f33 (patch)
tree0fa57730ee6dce3bc243d95f313bcda8d1cde902 /pygments/sphinxext.py
parentba3201bb2738fc5087caba70683bae30f74a9e82 (diff)
parent10c8bb546f946aea2fd0791e2e55af7945c540f5 (diff)
downloadpygments-git-6e9ff69fc49c7c86a57e2a7b7180321e20168f33.tar.gz
Merged in mppf5/pygments-main (pull request #735)
Updating Chapel highlighter
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