File: Use-packaged-docs.patch

package info (click to toggle)
python-agate-sql 0.5.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 236 kB
  • sloc: python: 461; makefile: 123
file content (29 lines) | stat: -rw-r--r-- 903 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: 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(-)

diff --git a/docs/conf.py b/docs/conf.py
index 67a300c..8c6051b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -29,8 +29,14 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
 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.