diff options
Diffstat (limited to 'sphinx/environment/collectors/indexentries.py')
-rw-r--r-- | sphinx/environment/collectors/indexentries.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sphinx/environment/collectors/indexentries.py b/sphinx/environment/collectors/indexentries.py index 596c98c09..44aee204c 100644 --- a/sphinx/environment/collectors/indexentries.py +++ b/sphinx/environment/collectors/indexentries.py @@ -15,7 +15,7 @@ from sphinx.environment.collectors import EnvironmentCollector if False: # For type annotation - from typing import Set # NOQA + from typing import Dict, Set # NOQA from docutils import nodes # NOQA from sphinx.applicatin import Sphinx # NOQA from sphinx.environment import BuildEnvironment # NOQA @@ -56,5 +56,11 @@ class IndexEntriesCollector(EnvironmentCollector): def setup(app): - # type: (Sphinx) -> None + # type: (Sphinx) -> Dict app.add_env_collector(IndexEntriesCollector) + + return { + 'version': 'builtin', + 'parallel_read_safe': True, + 'parallel_write_safe': True, + } |