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 99build :
1010 os : ubuntu-22.04
1111 tools :
12- python : " 3.11 "
12+ python : " 3.12 "
Original file line number Diff line number Diff line change 1414import shutil
1515from pathlib import Path
1616
17+ from intersphinx_registry import get_intersphinx_mapping
18+
1719from jupyter_core .version import __version__ , version_info
1820
1921# If extensions (or modules to document with autodoc) are in another directory,
3335 "myst_parser" ,
3436 "sphinx.ext.autodoc" ,
3537 "sphinx.ext.intersphinx" ,
36- "sphinxcontrib_github_alt" ,
3738 "sphinx_autodoc_typehints" ,
3839]
3940
4041try :
4142 import enchant # noqa: F401
4243
4344 extensions += ["sphinxcontrib.spelling" ]
44- except ImportError :
45+ except ModuleNotFoundError :
4546 pass
4647
4748github_project_url = "https://github.com/jupyter/jupyter_core"
294295# If true, do not generate a @detailmenu in the "Top" node's menu.
295296# texinfo_no_detailmenu = False
296297
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" ])
300299
301300
302301def setup (_ ):
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ test = [
4747 " pytest-timeout"
4848]
4949docs = [
50+ " intersphinx_registry" ,
5051 " myst-parser" ,
51- " sphinxcontrib_github_alt" ,
52- " sphinxcontrib_spelling" ,
52+ " pydata_sphinx_theme" ,
5353 " sphinx-autodoc-typehints" ,
54+ " sphinxcontrib_spelling" ,
5455 " traitlets" ,
55- " pydata_sphinx_theme" ,
5656]
5757
5858[project .scripts ]
You can’t perform that action at this time.
0 commit comments