File: Sphinx-Set-intersphinx_mapping-for-py3.patch

package info (click to toggle)
twisted 25.5.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,560 kB
  • sloc: python: 203,171; makefile: 200; sh: 92; javascript: 36; xml: 31
file content (25 lines) | stat: -rw-r--r-- 951 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
23
24
25
From: Free Ekanayaka <free.ekanayaka@gmail.com>
Date: Fri, 21 Oct 2016 07:37:26 +0000
Subject: Sphinx: Set intersphinx_mapping for 'py3'

Use local copies of object.inv for building documentation.

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/836169
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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