Skip to content

Commit

Permalink
Set parallel_read_safe to True. See #25.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed May 16, 2017
1 parent e6c0e47 commit eee01c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
0.11 (unreleased)
=================

- Nothing changed yet.
- Explicitly set ``parallel_read_safe`` to true in the extension
metadata. See `issue 25
<https://github.com/NextThought/sphinxcontrib-programoutput/issues/25>`_.
With thanks to Adam J. Stewart and Stephen McDowell.

0.10 (2017-03-17)
=================
Expand Down
4 changes: 4 additions & 0 deletions src/sphinxcontrib/programoutput/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,7 @@ def setup(app):
app.add_directive('command-output', ProgramOutputDirective)
app.connect('builder-inited', init_cache)
app.connect('doctree-read', run_programs)
metadata = {
'parallel_read_safe': True
}
return metadata

0 comments on commit eee01c3

Please sign in to comment.