File: docs-Use-local-intersphinx-while-build-of-documentation.patch

package info (click to toggle)
django-taggit 6.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,332 kB
  • sloc: python: 4,599; makefile: 45; sh: 15
file content (25 lines) | stat: -rw-r--r-- 788 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
22
23
24
25
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 12 Jun 2021 20:59:45 +0200
Subject: docs: Use local intersphinx while build of documentation

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 dad1837..55fc0c5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,9 +13,6 @@ version = taggit.__version__
 release = taggit.__version__
 
 intersphinx_mapping = {
-    "django": (
-        "https://docs.djangoproject.com/en/stable",
-        "https://docs.djangoproject.com/en/stable/_objects/",
-    ),
-    "python": ("https://docs.python.org/3", None),
+    "django": ("/usr/share/doc/python-django-doc/html", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
 }