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

package info (click to toggle)
python-cryptography 43.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,400 kB
  • sloc: python: 49,159; java: 319; makefile: 161
file content (23 lines) | stat: -rw-r--r-- 556 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
From: Tristan Seligmann <mithrandi@debian.org>
Date: Sat, 18 Jul 2020 13:24:59 +0200
Subject: Use local python3-doc inventory.
Forwarded: not-needed
---
 docs/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -182,7 +182,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"