From f1b128796cdd428e7fada775c5bfb479ba6f3a64 2024-12-02 15:14:15 From: Tomáš Hrnčiar Date: 2024-12-02 15:14:15 Subject: [PATCH] Fix compatibility with the latest Sphinx 8 Resolves: https://github.com/ipython/ipython/issues/14595 --- diff --git a/docs/source/conf.py b/docs/source/conf.py index d5892ca..b5a053d 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -118,7 +118,7 @@ except ModuleNotFoundError: intersphinx_mapping = config["intersphinx_mapping"] for k, v in intersphinx_mapping.items(): intersphinx_mapping[k] = tuple( - [intersphinx_mapping[k]["url"], intersphinx_mapping[k]["fallback"]] + [intersphinx_mapping[k]["url"], intersphinx_mapping[k]["fallback"] or None] )