File: docs-Use-local-Python-objects.inv-data-for-intersphinx.patch

package info (click to toggle)
pastedeploy 3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: python: 1,236; makefile: 106; sh: 17
file content (22 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 15 Nov 2022 21:51:32 +0100
Subject: docs: Use local Python objects.inv data for intersphinx

Forwarded: Not-Needed
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index c8cc651..9ebd5ca 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,7 +34,7 @@ extensions = [
 
 # Looks for objects in external projects
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3/', None),
+    'python': ('/usr/share/doc/python3-doc/html', None),
 }
 
 # Add any paths that contain templates here, relative to this directory.