File: use-local-docs-for-intersphinx-links.patch

package info (click to toggle)
slidge 0.2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,316 kB
  • sloc: python: 19,965; xml: 516; sh: 57; javascript: 27; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: use local docs for intersphinx links
Author: Martin <debacle@debian.org>
Origin: vendor
Last-Update: 2025-01-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -103,8 +103,8 @@
 # -- Options for HTML output -------------------------------------------------
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "slixmpp": ("https://slixmpp.readthedocs.io/en/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/html", "/usr/share/doc/python3-doc/html/objects.inv"),
+    "slixmpp": ("/usr/share/doc/python-slixmpp-doc/html", "/usr/share/doc/python-slixmpp-doc/html/objects.inv"),
 }
 
 extlinks = {"xep": ("https://xmpp.org/extensions/xep-%s.html", "XEP-%s")}