File: intersphinx-local.patch

package info (click to toggle)
python-webob 1%3A1.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,200 kB
  • ctags: 2,604
  • sloc: python: 14,014; makefile: 169
file content (23 lines) | stat: -rw-r--r-- 807 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
From 9412dffb672f34a1e8ca63e9cbe187309c58d6f8 Mon Sep 17 00:00:00 2001
From: Barry Warsaw <barry@python.org>
Date: Tue, 12 Jul 2016 11:00:18 -0400
Subject: Use local python{,3}-doc for intersphinx.

Patch-Name: intersphinx-local.patch
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 321769e..8f49873 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -150,6 +150,6 @@ epub_exclude_files = ['search.html']
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'python': ('https://docs.python.org', None),
-    'python3': ('https://docs.python.org/3', None),
+    'python': ('/usr/share/doc/python-doc/html', None),
+    'python3': ('/usr/share/doc/python3-doc/html', None),
 }