File: no_intersphinx.patch

package info (click to toggle)
sympy 1.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,784 kB
  • sloc: python: 460,598; xml: 359; makefile: 162; sh: 59; lisp: 4
file content (44 lines) | stat: -rw-r--r-- 1,882 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
Index: sympy/doc/src/conf.py
===================================================================
--- sympy.orig/doc/src/conf.py
+++ sympy/doc/src/conf.py
@@ -16,7 +16,7 @@ import os
 import subprocess
 from datetime import datetime
 
-from intersphinx_registry import get_intersphinx_mapping
+#from intersphinx_registry import get_intersphinx_mapping
 
 
 # Make sure we import sympy from git
@@ -33,11 +33,11 @@ sys.path = ['ext'] + sys.path
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.addons.*') or your custom ones.
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.linkcode',
-              'sphinx_math_dollar', 'sphinx.ext.mathjax', 'numpydoc',
+              'sphinx_math_dollar', 'sphinx.ext.imgmath', 'numpydoc',
               'sphinx_reredirects', 'sphinx_copybutton',
               'sphinx.ext.graphviz', 'sphinxcontrib.jquery',
               'matplotlib.sphinxext.plot_directive', 'myst_parser',
-              'convert-svg-to-pdf', 'sphinx.ext.intersphinx', ]
+              'convert-svg-to-pdf', ] # 'sphinx.ext.intersphinx', ]
 
 # Add redirects here. This should be done whenever a page that is in the
 # existing release docs is moved somewhere else so that the URLs don't break.
@@ -458,12 +458,12 @@ texinfo_documents = [
 graphviz_output_format = 'svg'
 
 # Enable links to other packages
-intersphinx_mapping = get_intersphinx_mapping(
-    packages={"matplotlib", "mpmath", "scipy", "numpy"},
-)
+# intersphinx_mapping = get_intersphinx_mapping(
+#     packages={"matplotlib", "mpmath", "scipy", "numpy"},
+# )
 # Require :external: to reference intersphinx. Prevents accidentally linking
 # to something from matplotlib.
-intersphinx_disabled_reftypes = ['*']
+# intersphinx_disabled_reftypes = ['*']
 
 # Required for linkcode extension.
 # Get commit hash from the external file.