File: docs-Use-intersphix-with-Debian-packages.patch

package info (click to toggle)
flask 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,548 kB
  • sloc: python: 10,076; makefile: 32; sql: 22; sh: 19
file content (36 lines) | stat: -rw-r--r-- 1,601 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
29
30
31
32
33
34
35
36
From: Thomas Goirand <zigo@debian.org>
Date: Sat, 16 Dec 2023 09:10:11 +0100
Subject: docs: Use intersphix with Debian packages

Forwarded: not-needed
---
 docs/conf.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index d80d52f..1af98de 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -29,14 +29,14 @@ extlinks = {
     "ghsa": ("https://github.com/pallets/flask/security/advisories/GHSA-%s", "GHSA-%s"),
 }
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "werkzeug": ("https://werkzeug.palletsprojects.com/", None),
-    "click": ("https://click.palletsprojects.com/", None),
-    "jinja": ("https://jinja.palletsprojects.com/", None),
-    "itsdangerous": ("https://itsdangerous.palletsprojects.com/", None),
-    "sqlalchemy": ("https://docs.sqlalchemy.org/", None),
-    "wtforms": ("https://wtforms.readthedocs.io/", None),
-    "blinker": ("https://blinker.readthedocs.io/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "werkzeug": ("/usr/share/doc/python-werkzeug-doc/html", None),
+    "click": ("/usr/share/doc/python-click-doc/html", None),
+    "jinja": ("/usr/share/doc/python-jinja2-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),
+    "blinker": ("/usr/share/doc/python-blinker-doc/html", None),
 }
 
 # HTML -----------------------------------------------------------------