summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r--sphinx/directives/other.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index bc75ce147..f55f95219 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -366,9 +366,12 @@ from sphinx.domains.index import IndexDirective # NOQA
deprecated_alias('sphinx.directives.other',
{
- 'Index': ('sphinx.domains.index.IndexDirective', IndexDirective),
+ 'Index': IndexDirective,
},
- RemovedInSphinx40Warning)
+ RemovedInSphinx40Warning,
+ {
+ 'Index': 'sphinx.domains.index.IndexDirective',
+ })
def setup(app: "Sphinx") -> Dict[str, Any]: