From 00052da94a3d84e376b3a86372daa828cf810e37 Mon Sep 17 00:00:00 2001 From: djungelorm Date: Tue, 3 Oct 2017 18:45:19 +0100 Subject: [PATCH] Fix deprecation --- src/redjack/sphinx/lua.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/redjack/sphinx/lua.py b/src/redjack/sphinx/lua.py index cbd61f5..253630d 100644 --- a/src/redjack/sphinx/lua.py +++ b/src/redjack/sphinx/lua.py @@ -10,7 +10,7 @@ import re from docutils import nodes -from docutils.parsers.rst import directives +from docutils.parsers.rst import directives, Directive from sphinx import addnodes, version_info from sphinx.roles import XRefRole @@ -18,7 +18,6 @@ from sphinx.domains import Domain, ObjType, Index from sphinx.directives import ObjectDescription from sphinx.util.nodes import make_refnode -from sphinx.util.compat import Directive from sphinx.util.docfields import Field, GroupedField, TypedField