diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-12-12 21:22:16 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-12-12 21:22:16 +0900 |
commit | d72954d498a6174e5629e7174f1c639cb76b6fe4 (patch) | |
tree | 00bbe29fed1c9eab54973a68b8c26ed557eeb7f5 /sphinx/directives/code.py | |
parent | 3c734e5b2db4861471ed5fbf664a48ab1c1719c9 (diff) | |
download | sphinx-git-d72954d498a6174e5629e7174f1c639cb76b6fe4.tar.gz |
builtin extensions return metadata to allow parallel build
Diffstat (limited to 'sphinx/directives/code.py')
-rw-r--r-- | sphinx/directives/code.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index 5bef8c386..519a32577 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -383,3 +383,9 @@ def setup(app): directives.register_directive('code-block', CodeBlock) directives.register_directive('sourcecode', CodeBlock) directives.register_directive('literalinclude', LiteralInclude) + + return { + 'version': 'builtin', + 'parallel_read_safe': True, + 'parallel_write_safe': True, + } |