File: docs-Use-packaged-intersphinx-resources.patch

package info (click to toggle)
litestar-htmx 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 664 kB
  • sloc: python: 1,358; makefile: 162; sh: 17
file content (32 lines) | stat: -rw-r--r-- 1,150 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
27
28
29
30
31
32
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 2 Feb 2025 16:05:45 +0200
Subject: docs: Use packaged intersphinx resources

Not all the -doc packages are yet available.

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

diff --git a/docs/conf.py b/docs/conf.py
index eeeabd6..f620889 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -33,11 +33,11 @@ extensions = [
     "sphinx_design",
 ]
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "msgspec": ("https://jcristharif.com/msgspec/", None),
-    "anyio": ("https://anyio.readthedocs.io/en/stable/", None),
-    "click": ("https://click.palletsprojects.com/en/8.1.x/", None),
-    "litestar": ("https://docs.litestar.dev/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/htm", None),
+    "msgspec": ("/usr/share/doc/python-msgspec-doc/html", None),
+#    "anyio": ("https://anyio.readthedocs.io/en/stable/", None),
+    "click": ("/usr/share/doc/python-click-doc/html", None),
+#    "litestar": ("https://docs.litestar.dev/latest/", None),
 }
 PY_CLASS = "py:class"
 PY_RE = r"py:.*"