File: docs-Use-packaged-intersphinx-resources.patch

package info (click to toggle)
pyjwt 2.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 864 kB
  • sloc: python: 5,151; makefile: 141
file content (24 lines) | stat: -rw-r--r-- 763 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 21 Feb 2026 09:36:41 +0200
Subject: docs: Use packaged intersphinx resources

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

diff --git a/docs/conf.py b/docs/conf.py
index d637a20..9ad0ca5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -89,8 +89,8 @@ nitpick_ignore = [
 
 # Intersphinx extension.
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "cryptography": ("https://cryptography.io/en/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "cryptography": ("/usr/share/doc/python-cryptography-doc/html", None),
 }
 
 # Hack for allowing aliases within TYPE_CHECKING to be documented