File: docs-Use-inventary-from-packages.patch

package info (click to toggle)
python-msgspec 0.19.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,356 kB
  • sloc: javascript: 23,944; ansic: 20,540; python: 20,465; makefile: 29; sh: 19
file content (26 lines) | stat: -rw-r--r-- 844 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
24
25
26
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 28 Jul 2024 10:48:40 +0900
Subject: docs: Use inventary from packages

All of the intersphinx modules can be taken from packages.

Forwarded: not-needed
---
 docs/source/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 668f3a7..bea9b36 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -87,8 +87,8 @@ extensions = [
     "IPython.sphinxext.ipython_console_highlighting",
 ]
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "attrs": ("https://www.attrs.org/en/stable/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "attrs": ("/usr/share/doc/python-attr-doc/html", None),
 }
 autodoc_typehints = "none"
 napoleon_numpy_docstring = True