File: no-intersphinx.patch

package info (click to toggle)
networkx 3.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,680 kB
  • sloc: python: 105,308; xml: 544; makefile: 131; javascript: 120; sh: 34
file content (48 lines) | stat: -rw-r--r-- 1,155 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description: No intersphinx
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2025-08-26

--- networkx-3.4.2.orig/doc/conf.py
+++ networkx-3.4.2/doc/conf.py
@@ -1,7 +1,6 @@
 import os
 from datetime import date
 from sphinx_gallery.sorting import ExplicitOrder, FileNameSortKey
-from intersphinx_registry import get_intersphinx_mapping
 from warnings import filterwarnings
 
 filterwarnings(
@@ -18,7 +17,6 @@ extensions = [
     "sphinx.ext.autodoc",
     "sphinx.ext.coverage",
     "sphinx.ext.doctest",
-    "sphinx.ext.intersphinx",
     "sphinx.ext.mathjax",
     "sphinx.ext.todo",
     "sphinx.ext.viewcode",
@@ -227,24 +225,6 @@ latex_documents = [
 
 latex_appendices = ["tutorial"]
 
-# Intersphinx mapping
-
-intersphinx_mapping = get_intersphinx_mapping(
-    packages={
-        "python",
-        "numpy",
-        "neps",
-        "matplotlib",
-        "scipy",
-        "pandas",
-        "geopandas",
-        "pygraphviz",
-        "sphinx-gallery",
-        "sympy",
-        "nx-guides",
-    }
-)
-
 # The reST default role (used for this markup: `text`) to use for all
 # documents.
 default_role = "obj"