File: Use-local-python3-doc-inventory.patch

package info (click to toggle)
python-cryptography 45.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,400 kB
  • sloc: python: 52,617; java: 319; makefile: 161
file content (28 lines) | stat: -rw-r--r-- 652 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
From: Tristan Seligmann <mithrandi@debian.org>
Date: Sat, 18 Jul 2020 13:24:59 +0200
Subject: Use local python3-doc inventory.

Forwarded: not-needed

Forwarded: not-needed
---
 docs/conf.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 6de55ed..875d97a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -183,7 +183,11 @@ texinfo_documents = [
     ),
 ]
 
-intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
+intersphinx_mapping = {
+    'py': ('https://docs.python.org/3/',
+           ('/usr/share/doc/python3-doc/html/objects.inv', None)),
+}
+
 
 epub_theme = "epub"