File: docs-Don-t-use-external-intersphinx.patch

package info (click to toggle)
flask-sqlalchemy 3.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: python: 2,909; makefile: 27; sh: 14
file content (28 lines) | stat: -rw-r--r-- 922 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
26
27
28
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 9 Oct 2022 13:49:23 +0200
Subject: docs: Don't use external intersphinx

Use objects.inv information from local installed packages.

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

diff --git a/docs/conf.py b/docs/conf.py
index dd88d50..c53fbac 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,9 +18,9 @@ extensions = [
 ]
 autodoc_typehints = "description"
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "flask": ("https://flask.palletsprojects.com/", None),
-    "sqlalchemy": ("https://docs.sqlalchemy.org/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "flask": ("/usr/share/doc/python-flask-doc/html", None),
+    "sqlalchemy": ("/usr/share/doc/python-sqlalchemy-doc/html", None),
 }
 issues_github_path = "pallets-eco/flask-sqlalchemy"