File: intersphinx-local.patch

package info (click to toggle)
python-webob 1%3A1.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,664 kB
  • sloc: python: 21,344; makefile: 171
file content (21 lines) | stat: -rw-r--r-- 683 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
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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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