File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 9
9
build :
10
10
os : ubuntu-22.04
11
11
tools :
12
- python : " 3.11 "
12
+ python : " 3.12 "
Original file line number Diff line number Diff line change 14
14
import shutil
15
15
from pathlib import Path
16
16
17
+ from intersphinx_registry import get_intersphinx_mapping
18
+
17
19
from jupyter_core .version import __version__ , version_info
18
20
19
21
# If extensions (or modules to document with autodoc) are in another directory,
33
35
"myst_parser" ,
34
36
"sphinx.ext.autodoc" ,
35
37
"sphinx.ext.intersphinx" ,
36
- "sphinxcontrib_github_alt" ,
37
38
"sphinx_autodoc_typehints" ,
38
39
]
39
40
40
41
try :
41
42
import enchant # noqa: F401
42
43
43
44
extensions += ["sphinxcontrib.spelling" ]
44
- except ImportError :
45
+ except ModuleNotFoundError :
45
46
pass
46
47
47
48
github_project_url = "https://github.com/jupyter/jupyter_core"
294
295
# If true, do not generate a @detailmenu in the "Top" node's menu.
295
296
# texinfo_no_detailmenu = False
296
297
297
-
298
- # Example configuration for intersphinx: refer to the Python standard library.
299
- intersphinx_mapping = {"https://docs.python.org/3/" : None }
298
+ intersphinx_mapping = get_intersphinx_mapping (packages = ["python" ])
300
299
301
300
302
301
def setup (_ ):
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ test = [
47
47
" pytest-timeout"
48
48
]
49
49
docs = [
50
+ " intersphinx_registry" ,
50
51
" myst-parser" ,
51
- " sphinxcontrib_github_alt" ,
52
- " sphinxcontrib_spelling" ,
52
+ " pydata_sphinx_theme" ,
53
53
" sphinx-autodoc-typehints" ,
54
+ " sphinxcontrib_spelling" ,
54
55
" traitlets" ,
55
- " pydata_sphinx_theme" ,
56
56
]
57
57
58
58
[project .scripts ]
You can’t perform that action at this time.
0 commit comments