summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2012-12-07 21:16:50 +0200
committerPauli Virtanen <pav@iki.fi>2013-02-16 17:28:28 +0200
commitcedba8efabdcbbeb338a0683cf91b755ab5f9e5c (patch)
treebb5edbdf4bfe78320686d7df72a59db047b6d57a /doc
parent38a16488d0977c5617218a36759250df7f87556e (diff)
downloadnumpy-cedba8efabdcbbeb338a0683cf91b755ab5f9e5c.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/sphinxext/linkcode.py2
1 files changed, 1 insertions, 1 deletions
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, '')