From: Georg Brandl Date: Tue, 30 Sep 2014 20:17:41 +0000 (+0200) Subject: Prepare sphinx extensions for 1.3. X-Git-Tag: v3.5.0a1~809^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bae334cda9e1f75c55f98842d3758bf14be26d76;p=python Prepare sphinx extensions for 1.3. --- diff --git a/Doc/tools/sphinxext/c_annotations.py b/Doc/tools/sphinxext/c_annotations.py index cf9ad9e7ac..baa39f3b44 100644 --- a/Doc/tools/sphinxext/c_annotations.py +++ b/Doc/tools/sphinxext/c_annotations.py @@ -13,7 +13,7 @@ Usage: Set the `refcount_file` config value to the path to the reference count data file. - :copyright: Copyright 2007-2013 by Georg Brandl. + :copyright: Copyright 2007-2014 by Georg Brandl. :license: Python license. """ @@ -118,3 +118,4 @@ def setup(app): signode.parent['stableabi'] = 'stableabi' in self.options return old_handle_signature(self, sig, signode) CObject.handle_signature = new_handle_signature + return {'version': '1.0', 'parallel_read_safe': True} diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py index 9c5d401cb2..211a0edb74 100644 --- a/Doc/tools/sphinxext/pyspecific.py +++ b/Doc/tools/sphinxext/pyspecific.py @@ -345,3 +345,4 @@ def setup(app): app.add_directive_to_domain('py', 'decorator', PyDecoratorFunction) app.add_directive_to_domain('py', 'decoratormethod', PyDecoratorMethod) app.add_directive('miscnews', MiscNews) + return {'version': '1.0', 'parallel_read_safe': True}