From cedba8efabdcbbeb338a0683cf91b755ab5f9e5c Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Fri, 7 Dec 2012 21:16:50 +0200 Subject: BUG: numpydoc/linkcode: do not detect linkcode config changes Since the linkcode_resolve is a function, it triggers configuration change on each rebuild, resulting to full rebuild always. It's better to make it not do that. --- doc/sphinxext/linkcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/sphinxext') diff --git a/doc/sphinxext/linkcode.py b/doc/sphinxext/linkcode.py index 1b1ef4a77..e3ec9aa9d 100644 --- a/doc/sphinxext/linkcode.py +++ b/doc/sphinxext/linkcode.py @@ -76,4 +76,4 @@ def doctree_read(app, doctree): def setup(app): app.connect('doctree-read', doctree_read) - app.add_config_value('linkcode_resolve', None, 'env') + app.add_config_value('linkcode_resolve', None, '') -- cgit v1.2.1