summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-30 20:17:41 (GMT)
committerGeorg Brandl <georg@python.org>2014-09-30 20:17:41 (GMT)
commit75070f03044e4f93a3b092ad01110515b4ad4530 (patch)
treedc75b6b067f1c07c21bd3381cefc4ba85aa88329 /Doc/tools
parenta76e4d837693cc12cf63c66e4517678970b961e1 (diff)
downloadcpython-75070f03044e4f93a3b092ad01110515b4ad4530.zip
cpython-75070f03044e4f93a3b092ad01110515b4ad4530.tar.gz
cpython-75070f03044e4f93a3b092ad01110515b4ad4530.tar.bz2
Prepare sphinx extensions for 1.3.
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/sphinxext/c_annotations.py3
-rw-r--r--Doc/tools/sphinxext/pyspecific.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/tools/sphinxext/c_annotations.py b/Doc/tools/sphinxext/c_annotations.py
index cf9ad9e..baa39f3 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 0cade46..30178eb 100644
--- a/Doc/tools/sphinxext/pyspecific.py
+++ b/Doc/tools/sphinxext/pyspecific.py
@@ -305,3 +305,4 @@ def setup(app):
app.add_description_unit('2to3fixer', '2to3fixer', '%s (2to3 fixer)')
app.add_directive_to_domain('py', 'decorator', PyDecoratorFunction)
app.add_directive_to_domain('py', 'decoratormethod', PyDecoratorMethod)
+ return {'version': '1.0', 'parallel_read_safe': True}