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

package info (click to toggle)
flask-wtf 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 420 kB
  • sloc: python: 1,170; makefile: 21; sh: 10
file content (26 lines) | stat: -rw-r--r-- 854 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 31 Dec 2022 18:26:21 +0100
Subject: docs: Use local Python intersphinx inventary

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 bd37efa..b2d6656 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,9 +19,9 @@ extensions = [
 ]
 autodoc_typehints = "description"
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "flask": ("https://flask.palletsprojects.com/", None),
-    "wtforms": ("https://wtforms.readthedocs.io/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "flask": ("/usr/share/doc/python-flask-doc/html", None),
+    "wtforms": ("/usr/share/doc/python-wtforms-doc/html", None),
 }
 issues_github_path = "wtforms/flask-wtf"