File: 0004-Use-locally-installed-documentation-sources.patch

package info (click to toggle)
python-django 3%3A4.2.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,604 kB
  • sloc: python: 334,766; javascript: 18,754; xml: 215; makefile: 178; sh: 27
file content (25 lines) | stat: -rw-r--r-- 926 bytes parent folder | download | duplicates (3)
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: Brian May <bam@debian.org>
Date: Sat, 24 Jun 2017 17:05:58 +1000
Subject: Use locally installed documentation sources

---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index bcb2bea2511c..af2efbac621b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -181,9 +181,9 @@ pygments_style = "trac"
 # Links to Python's docs should reference the most recent version of the 3.x
 # branch, which is located at this URL.
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "sphinx": ("https://www.sphinx-doc.org/en/master/", None),
-    "psycopg": ("https://www.psycopg.org/psycopg3/docs/", None),
+    "python": ("/usr/share/doc/python3-doc/html/", None),
+    "sphinx": ("/usr/share/doc/sphinx-doc/html/", None),
+    "psycopg": ("/usr/share/doc/python-psycopg2-doc/html/", None),
 }
 
 # Python's docs don't change every week.