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

package info (click to toggle)
python-django 3%3A6.0~alpha1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 62,204 kB
  • sloc: python: 370,694; javascript: 19,376; xml: 211; makefile: 187; sh: 28
file content (25 lines) | stat: -rw-r--r-- 923 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
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 891c105964ab..b8b59689a1ba 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -189,9 +189,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.