diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-03-13 04:46:07 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-03-13 04:46:07 +0300 |
commit | 75c7c80299acd4b6c88582e22f0fd0ad4988c0d2 (patch) | |
tree | ade0c52d79b3b35c781d6bb282f850cc34bc9d58 /sphinx/environment/collectors/indexentries.py | |
parent | 46244ae9f82d5828f328d69c919509cdbf522c63 (diff) |
Fix collectors does not returns ext-metadata
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, + } |