File: 0002-Update-intersphinx-links-for-local-access.patch

package info (click to toggle)
ipython 9.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,624 kB
  • sloc: python: 45,268; sh: 317; makefile: 168
file content (34 lines) | stat: -rw-r--r-- 1,908 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
From: Nicolas Dandrimont <olasd@debian.org>
Date: Tue, 9 Oct 2018 15:38:25 +0200
Subject: update intersphinx links for local access

---
 docs/source/sphinx.toml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/docs/source/sphinx.toml b/docs/source/sphinx.toml
index 9545be8..e5aa916 100644
--- a/docs/source/sphinx.toml
+++ b/docs/source/sphinx.toml
@@ -15,7 +15,6 @@ extensions = [
     "sphinx.ext.graphviz",
     "sphinxcontrib.jquery",
     "IPython.sphinxext.ipython_console_highlighting",
-    "IPython.sphinxext.ipython_directive",
     "sphinx.ext.napoleon",  # to preprocess docstrings
     "github",  # for easy GitHub links
     "magics",
@@ -30,10 +29,10 @@ modindex_common_prefix = ["IPython."]
 [intersphinx_mapping]
 python = { url = 'https://docs.python.org/3', fallback = '' }
 rpy2 = { url = 'https://rpy2.github.io/doc/latest/html', fallback = '' }
-jupyterclient = { url = 'https://jupyter-client.readthedocs.io/en/latest', fallback = '' }
-jupyter = { url = 'https://jupyter.readthedocs.io/en/latest', fallback = '' }
+jupyterclient = { url = 'https://jupyter-client.readthedocs.io/en/latest', fallback = '/usr/share/doc/python-jupyter-client-doc/html/objects.inv' }
+jupyter = { url = 'https://jupyter.readthedocs.io/en/latest', fallback = '/usr/share/doc/python-jupyter-core-doc/html/objects.inv' }
 jedi = { url = 'https://jedi.readthedocs.io/en/latest', fallback = '' }
-traitlets = { url = 'https://traitlets.readthedocs.io/en/latest', fallback = '' }
+traitlets = { url = 'https://traitlets.readthedocs.io/en/latest', fallback = '/usr/share/doc/python-traitlets-doc/html/objects.inv' }
 ipykernel = { url = 'https://ipykernel.readthedocs.io/en/latest', fallback = '' }
 prompt_toolkit = { url = 'https://python-prompt-toolkit.readthedocs.io/en/stable', fallback = '' }
 ipywidgets = { url = 'https://ipywidgets.readthedocs.io/en/stable', fallback = '' }