File: 001_disable_intersphinx

package info (click to toggle)
python-elasticsearch 8.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 20,124 kB
  • sloc: python: 69,424; makefile: 150; javascript: 75
file content (23 lines) | stat: -rw-r--r-- 896 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
Description: sphinx: use local inventory references for intersphinx
 Note that we will not be making this conditional: we want the build to
 fail if intersphinx was to fetch inventory data from the internet.
 .
Author: Karsten Schöke <karsten.schoeke@geobasis-bb.de>
Forwarded: not-needed
Last-Update: 2025-03-19

--- python-elasticsearch-8.17.2.orig/docs/sphinx/conf.py
+++ python-elasticsearch-8.17.2/docs/sphinx/conf.py
@@ -80,9 +80,10 @@ html_static_path = ["_static"]
 html_css_files = ["css/custom.css"]

 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
+    "python": ("https://docs.python.org/3", 
+               "/usr/share/doc/python3-doc/html/objects.inv"),
     "elastic-transport": (
         "https://elastic-transport-python.readthedocs.io/en/latest",
-        None,
+        "/usr/share/doc/python-elastic-transport-doc/html/objects.inv",
     ),
 }