File: Use-local-copies-of-object.inv-for-building-documentation.patch

package info (click to toggle)
django-tables 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,704 kB
  • sloc: python: 7,154; makefile: 129; sh: 74
file content (28 lines) | stat: -rw-r--r-- 760 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
26
27
28
From: Brian May <bam@debian.org>
Date: Thu, 8 Oct 2015 08:57:46 -0700
Subject: Use local copies of object.inv for building documentation

Last-Update: 2019-08-12
Forwarded: not-needed
---
 docs/conf.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 20e4426..6c1889d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,11 +40,8 @@ extensions = [
 ]
 
 intersphinx_mapping = {
-    "python": ("http://docs.python.org/dev/", None),
-    "django": (
-        "http://docs.djangoproject.com/en/stable/",
-        "http://docs.djangoproject.com/en/stable/_objects/",
-    ),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "django": ("/usr/share/doc/python-django-doc/html", None),
 }