| # HG changeset patch |
| # User WAKAYAMA Shirou <shirou.faw@gmail.com> |
| # Date 1500298269 -32400 |
| # Node ID 1a78f58afb5066cf35b04676d0d5ffbb18d5d540 |
| # Parent 7941677dc77d4f2bf0bbd6140ade85a9454b8b80 |
| Change to docutils.parsers in sphinxext. |
| |
| From Sphinx 1.7, sphinx.utils.compat will be removed. |
| |
| diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py |
| --- a/pygments/sphinxext.py |
| +++ b/pygments/sphinxext.py |
| @@ -16,7 +16,7 @@ |
| |
| 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 |
| |
| |
| |