File: docs-conf.py-Adjust-the-intersphinx-mapping.patch

package info (click to toggle)
twisted 25.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,460 kB
  • sloc: python: 203,167; makefile: 200; sh: 92; javascript: 36; xml: 31
file content (22 lines) | stat: -rw-r--r-- 937 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 16 Jan 2022 08:43:47 +0100
Subject: docs/conf.py: Adjust the intersphinx mapping

We can't use a mapping to resources outside the build.
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index ae534d9..eb9aa7d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -206,7 +206,7 @@ pydoctor_url_path = "/en/{rtd_version}/api/"
 # The inventory file may be None to use the default location at the given URI.
 intersphinx_mapping = {
     'py3': ('/usr/share/doc/python3-doc/html', None),
-    'python': ('http://docs.python.org/3', '/usr/share/doc/python3/html/objects.inv'),
+#    'python': ('http://docs.python.org/3', '/usr/share/doc/python3/html/objects.inv'),
 #    "zopeinterface": ("https://zopeinterface.readthedocs.io/en/latest", None),
 }
 # How long to cache remote inventories. Positive is a number of days,