diff --git a/src/nbsphinx.py b/src/nbsphinx.py index be3e7903..326eaa52 100644 --- a/src/nbsphinx.py +++ b/src/nbsphinx.py @@ -1475,4 +1475,8 @@ def setup(app): # see https://github.com/sphinx-doc/sphinx/issues/2155: rst.directives.register_directive('code', sphinx.directives.code.CodeBlock) - return {'version': __version__, 'parallel_read_safe': True} + return { + 'version': __version__, + 'parallel_read_safe': True, + 'env_version': 1, + }