File: docs-Use-local-Python-intersphinx-inventary.patch

package info (click to toggle)
flask-security 5.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,448 kB
  • sloc: python: 23,247; javascript: 204; makefile: 138
file content (55 lines) | stat: -rw-r--r-- 2,479 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 9 Jan 2023 20:16:30 +0100
Subject: docs: Use local Python intersphinx inventary

The package src:python-passlib isn't providing a -doc package, so we
can't reference to some local inventary.

flask-sqlalchemy-lite isn't existing Debian.

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

diff --git a/docs/conf.py b/docs/conf.py
index 945ad42..39c1a94 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -119,21 +119,21 @@ autosectionlabel_prefix_document = True
 autosectionlabel_maxdepth = 2
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "werkzeug": ("https://werkzeug.palletsprojects.com/", None),
-    "flask": ("https://flask.palletsprojects.com/", None),
-    "itsdangerous": ("https://itsdangerous.palletsprojects.com/", None),
-    "sqlalchemy": ("https://docs.sqlalchemy.org/", None),
-    "wtforms": ("https://wtforms.readthedocs.io/", None),
-    "flask_wtforms": ("https://flask-wtf.readthedocs.io", None),
-    "flask_sqlalchemy": ("https://flask-sqlalchemy.palletsprojects.com/", None),
-    "flask_sqlalchemy_lite": (
-        "https://flask-sqlalchemy-lite.readthedocs.io/en/latest/",
-        None,
-    ),
-    "flask_login": ("https://flask-login.readthedocs.io/en/latest/", None),
-    "passlib": ("https://passlib.readthedocs.io/en/stable", None),
-    "authlib": ("https://docs.authlib.org/en/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "werkzeug": ("/usr/share/doc/python-werkzeug-doc/html", None),
+    "flask": ("/usr/share/doc/python-flask-doc/html", None),
+    "itsdangerous": ("/usr/share/doc/python-itsdangerous-doc/html", None),
+    "sqlalchemy": ("/usr/share/doc/python-sqlalchemy-doc/html", None),
+    "wtforms": ("/usr/share/doc/python-wtforms-doc/html", None),
+    "flask_wtforms": ("/usr/share/doc/python-flaskext.wtf-doc/html", None),
+    "flask_sqlalchemy": ("/usr/share/doc/flask-sqlalchemy-doc/html", None),
+#    "flask_sqlalchemy_lite": (
+#        "https://flask-sqlalchemy-lite.readthedocs.io/en/latest/",
+#        None,
+#    ),
+    "flask_login": ("/usr/share/doc/python-flask-login-doc/html", None),
+#    "passlib": ("https://passlib.readthedocs.io/en/stable", None),
+    "authlib": ("/usr/share/doc/python-authlib-doc/html", None),
 }
 
 # -- Options for HTML output ---------------------------------------------