File: use_local_objects.inv.patch

package info (click to toggle)
python-scipy 0.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 75,464 kB
  • ctags: 79,406
  • sloc: python: 143,495; cpp: 89,357; fortran: 81,650; ansic: 79,778; makefile: 364; sh: 265
file content (29 lines) | stat: -rw-r--r-- 1,143 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 661f8f1cf3e38eb1f7fb743d3af711fc89d7e35b Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Mon, 12 Oct 2015 15:17:19 -0700
Subject: Use a local copy of object.inv from doc.python.org and scipy.org,
 instead of downloading them each time from the internet.

Caveat: We use the objects.inv of the stable version, not the development version
Last-Update: 2015-08-23

Patch-Name: use_local_objects.inv.patch
---
 doc/source/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index be23821..05e710f 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -217,8 +217,8 @@ latex_use_modindex = False
 # Intersphinx configuration
 # -----------------------------------------------------------------------------
 intersphinx_mapping = {
-        'http://docs.python.org/dev': None,
-        'https://docs.scipy.org/doc/numpy': None,
+        'http://docs.python.org/dev': '/usr/share/doc/python-doc/html/objects.inv',
+        'https://docs.scipy.org/doc/numpy': '/usr/share/doc/python-numpy-doc/html/objects.inv',
 }