Skip to content

Commit ade2603

Browse files
committed
Use docutils' Directive class instead compat module
1 parent a90d5a9 commit ade2603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/root/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
# -- extension API
8585

8686
from docutils import nodes
87+
from docutils.parsers.rst import Directive
8788
from sphinx import addnodes
88-
from sphinx.util.compat import Directive
8989

9090

9191
def userdesc_parse(env, sig, signode):

0 commit comments

Comments
 (0)