File: Use-packaged-docs.patch

package info (click to toggle)
python-agate-sql 0.5.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 208 kB
  • sloc: python: 491; makefile: 123
file content (27 lines) | stat: -rw-r--r-- 770 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
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Wed, 15 Mar 2017 12:43:24 +0000
Subject: Use packaged docs

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

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,8 +27,14 @@
 autodoc_member_order = 'bysource'
 
 intersphinx_mapping = {
-    'python': ('http://docs.python.org/3.5/', None),
-    'agate': ('http://agate.readthedocs.org/en/latest/', None)
+    'python': (
+        'http://docs.python.org/3/',
+        '/usr/share/doc/python3/html/objects.inv',
+    ),
+    'agate': (
+        'http://agate.readthedocs.org/en/latest/',
+        '/usr/share/doc/python-agate-doc/html/objects.inv',
+    ),
 }
 
 # Add any paths that contain templates here, relative to this directory.