File: docs-Use-internal-ressources-for-intersphinx.patch

package info (click to toggle)
tpm2-pytss 3.0.0~rc0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: python: 23,525; makefile: 15; sh: 15
file content (24 lines) | stat: -rw-r--r-- 743 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Thu, 25 Aug 2022 12:45:41 +0200
Subject: docs: Use internal ressources for intersphinx

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 1719324..7dcdbe5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -102,8 +102,8 @@ source_suffix = {
 autodoc_typehints = "none"
 
 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),
 }
 
 autosectionlabel_prefix_document = True