diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2018-11-24 17:52:06 +0100 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2018-11-24 17:52:06 +0100 |
commit | 6bc8c0de737b181566fa66bc29f5fef4bc6ab11c (patch) | |
tree | f86f988041fcc77e6ef7edfbc6828f1491f96265 /pygments/sphinxext.py | |
parent | 72b98953d2dd8db2a909595eea718744ed7ee318 (diff) | |
download | pygments-6bc8c0de737b181566fa66bc29f5fef4bc6ab11c.tar.gz |
Fix documentation not building with latest Sphinx.
Diffstat (limited to 'pygments/sphinxext.py')
-rw-r--r-- | pygments/sphinxext.py | 2 |
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 |