File: 0001-local_inventory.patch

package info (click to toggle)
psycopg2 2.9.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,248 kB
  • sloc: ansic: 14,542; python: 11,992; sh: 475; makefile: 182
file content (25 lines) | stat: -rw-r--r-- 874 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
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 10:17:29 -0700
Subject: local_inventory

Use local copies of object.inv for building documentation.
Doesn't need forwarding.
Patch by Scott Kitterman <scott@kitterman.com> Feb 2, 2012
Patch-Name: local_inventory
---
 doc/src/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/conf.py b/doc/src/conf.py
index 59e0120..04dae4f 100644
--- a/doc/src/conf.py
+++ b/doc/src/conf.py
@@ -69,7 +69,7 @@ else:
     release = psycopg2.__version__.split()[0]
     version = '.'.join(release.split('.')[:2])
 
-intersphinx_mapping = {'py': ('https://docs.python.org/3', None)}
+intersphinx_mapping = {'py': ('/usr/share/doc/python3-doc/html', None)}
 
 # Pattern to generate links to the bug tracker
 ticket_url = 'https://github.com/psycopg/psycopg2/issues/%s'