File: Use-packaged-docs.patch

package info (click to toggle)
python-agate 1.13.0-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,008 kB
  • sloc: python: 8,578; makefile: 126
file content (26 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (2)
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
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sun, 12 Mar 2017 23:29:17 +0000
Subject: Use packaged docs
Forwarded: not-needed

---
 docs/conf.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,6 +41,12 @@
 }
 
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3', None),
-    'leather': ('https://leather.readthedocs.io/en/latest/', None)
+    'python': (
+        'http://docs.python.org/3',
+        '/usr/share/doc/python3/html/objects.inv',
+    ),
+    'leather': (
+        'http://leather.readthedocs.io/en/latest/',
+        '/usr/share/doc/python-leather-doc/html/objects.inv',
+    ),
 }