File: docs-Don-t-use-external-intersphinx.patch

package info (click to toggle)
python-marshmallow-sqlalchemy 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: python: 1,921; makefile: 13; sh: 8
file content (24 lines) | stat: -rw-r--r-- 820 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
24
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 10 Apr 2023 18:58:57 +0200
Subject: docs: Don't use external intersphinx

Forwarded: Not-Needed
---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,9 +15,9 @@
 default_role = "py:obj"
 
 intersphinx_mapping = {
-    "python": ("https://python.readthedocs.io/en/latest/", None),
-    "marshmallow": ("https://marshmallow.readthedocs.io/en/latest/", None),
-    "sqlalchemy": ("http://www.sqlalchemy.org/docs/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "marshmallow": ("/usr/share/doc/python3-marshmallow/html", None),
+    "sqlalchemy": ("/usr/share/doc/python-sqlalchemy-doc/html", None),
 }
 
 issues_github_path = "marshmallow-code/marshmallow-sqlalchemy"