| 1 |
Index: Doc/tools/sphinx/ext/refcounting.py |
| 2 |
=================================================================== |
| 3 |
--- Doc/tools/sphinx/ext/refcounting.py (Revision 79453) |
| 4 |
+++ Doc/tools/sphinx/ext/refcounting.py (Arbeitskopie) |
| 5 |
@@ -91,6 +91,7 @@ |
| 6 |
if app.config.refcount_file: |
| 7 |
refcounts = Refcounts.fromfile( |
| 8 |
path.join(app.srcdir, app.config.refcount_file)) |
| 9 |
+ app._refcounts = refcounts |
| 10 |
app.connect('doctree-read', refcounts.add_refcount_annotations) |
| 11 |
|
| 12 |
|
| 13 |
Index: Doc/conf.py |
| 14 |
=================================================================== |
| 15 |
--- Doc/conf.py (Revision 79421) |
| 16 |
+++ Doc/conf.py (Arbeitskopie) |
| 17 |
@@ -13,8 +13,8 @@ |
| 18 |
# General configuration |
| 19 |
# --------------------- |
| 20 |
|
| 21 |
-extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage', |
| 22 |
- 'sphinx.ext.doctest', 'pyspecific'] |
| 23 |
+extensions = ['pypy.module.cpyext.stubgen', 'sphinx.ext.refcounting', 'sphinx.ext.coverage', |
| 24 |
+ 'sphinx.ext.doctest', 'pyspecific', ] |
| 25 |
templates_path = ['tools/sphinxext'] |
| 26 |
|
| 27 |
# General substitutions. |