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 33 34 35 36 37 38 39 40 41 42
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 1 Jan 2023 13:53:12 +0100
Subject: docs: Use local packaged intersphinx invetary if possible
We can't use local inventary for all intersphinx modules upstream is
using.
redis-py (src:python-redis) and pymemcache src:python-pymemcache() is
packaged but the packaging isn't providing -doc packages we could use.
Forwarded: Not-Needed
---
doc/source/conf.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0ca64ed..7f0cdfa 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -85,13 +85,13 @@ extlinks = {
}
intersphinx_mapping = {
- "python": ("http://docs.python.org/", None),
- "limits": ("https://limits.readthedocs.io/en/stable/", None),
- "redis-py-cluster": ("https://redis-py-cluster.readthedocs.io/en/latest/", None),
- "redis-py": ("https://redis-py.readthedocs.io/en/latest/", None),
- "pymemcache": ("https://pymemcache.readthedocs.io/en/latest/", None),
- "pymongo": ("https://pymongo.readthedocs.io/en/stable/", None),
- "flask": ("https://flask.palletsprojects.com/en/latest/", None),
- "werkzeug": ("https://werkzeug.palletsprojects.com/en/latest/", None),
- "flaskrestful": ("http://flask-restful.readthedocs.org/en/latest/", None),
+ "python": ("/usr/share/doc/python3-doc/html", None),
+ "limits": ("/usr/share/doc/python-limits-doc/html", None),
+ "redis-py-cluster": ("/usr/share/doc/python-rediscluster-doc/html", None),
+# "redis-py": ("https://redis-py.readthedocs.io/en/latest/", None),
+# "pymemcache": ("https://pymemcache.readthedocs.io/en/latest/", None),
+ "pymongo": ("/usr/share/doc/python-pymongo-doc/html", None),
+ "flask": ("/usr/share/doc/python-flask-doc/html", None),
+ "werkzeug": ("/usr/share/doc/python-werkzeug-doc/html", None),
+ "flaskrestful": ("/usr/share/doc/python-flask-restful-doc/html", None),
}
|