Package: sip5 / 5.5.0+dfsg-3

intersphinx_local.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Dmitry Shachnev <mitya57@debian.org>
Date: Wed, 26 Feb 2020 18:50:06 +0300
Subject: Use local intersphinx inventory.

---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index 93819fc..7f493c9 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -25,7 +25,7 @@ import sys
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.intersphinx']
-intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
+intersphinx_mapping = {'python': ('/usr/share/doc/python3-doc/html', None)}
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['templates']