File: Sphinx-Use-trio-intersphinx.patch

package info (click to toggle)
python-trio-websocket 0.12.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: python: 2,900; makefile: 41; sh: 17
file content (23 lines) | stat: -rw-r--r-- 721 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
23
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 23 Sep 2022 18:27:45 +0200
Subject: Sphinx: Use trio intersphinx

As the Trio documentation is packaged we can use a intershinx
mapping to internal source mappings.

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 649051b..9285825 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -176,5 +176,5 @@ epub_exclude_files = ['search.html']
 
 # -- Extension configuration -------------------------------------------------
 intersphinx_mapping = {
-    'trio': ('https://trio.readthedocs.io/en/stable/', None),
+    'trio': ('/usr/share/doc/python-trio-doc/html', None),
 }