File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88
99from docutils import nodes
1010from docutils .frontend import get_default_settings
11- from docutils .parsers .rst import Directive , Parser
11+ from docutils .parsers .rst import Parser
1212from docutils .parsers .rst .directives import flag , unchanged
1313from docutils .statemachine import StringList
1414from sphinx .ext .autodoc import mock
15- from sphinx .util .docutils import new_document
15+ from sphinx .util .docutils import SphinxDirective , new_document
1616from sphinx .util .nodes import nested_parse_with_titles
1717
1818from sphinxarg import __version__
@@ -279,7 +279,7 @@ def ensure_unique_ids(items):
279279 n ['ids' ] = ids
280280
281281
282- class ArgParseDirective (Directive ):
282+ class ArgParseDirective (SphinxDirective ):
283283 has_content = True
284284 option_spec = {
285285 'module' : unchanged ,
You can’t perform that action at this time.
0 commit comments