File: docs-local-intersphinx.diff

package info (click to toggle)
jupyter-client 8.6.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,604 kB
  • sloc: python: 9,025; makefile: 168; sh: 33
file content (16 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use local ipython documentation for intersphinx
Forwarded: not-needed
Author: Julian Gilbey <jdg@debian.org>
Last-Update: 2025-01-13

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -326,7 +326,7 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {"ipython": ("https://ipython.readthedocs.io/en/stable/", None)}
+intersphinx_mapping = {"ipython": ("file:///usr/share/doc/python-ipython-doc/html/", "/usr/share/doc/python-ipython-doc/html/objects.inv")}
 
 
 def setup(app: object) -> None: