File: 0004-Use-local-intersphinx.patch

package info (click to toggle)
python-sounddevice 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 476 kB
  • sloc: python: 2,476; sh: 12; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Subject: Use local intersphinx
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed

Index: python-sounddevice/doc/conf.py
===================================================================
--- python-sounddevice.orig/doc/conf.py
+++ python-sounddevice/doc/conf.py
@@ -33,8 +33,8 @@ napoleon_use_param = False
 napoleon_use_rtype = False
 
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3/', None),
-    'numpy': ('https://docs.scipy.org/doc/numpy/', None),
+    'python': ('/usr/share/doc/python3-doc/html/', None),
+    'numpy': ('/usr/share/doc/python-numpy/html/', None),
 }
 
 master_doc = 'index'