File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 198198tippy_skip_anchor_classes = ("headerlink" , "sd-stretched-link" , "sd-rounded-pill" )
199199tippy_anchor_parent_selector = "article.bd-article"
200200tippy_rtd_urls = [
201- "https://www.sphinx-doc.org/en/master" ,
202- "https://markdown-it-py.readthedocs.io/en/latest" ,
201+ # TODO these are failing the build: Expecting value: line 1 column 1 (char 0)
202+ # "https://www.sphinx-doc.org/en/master",
203+ # "https://markdown-it-py.readthedocs.io/en/latest",
203204]
204205# TODO failing
205206tippy_enable_wikitips = False
Original file line number Diff line number Diff line change @@ -366,7 +366,15 @@ def filter_sphinx_inventories(
366366 continue
367367 for target in data :
368368 if match_with_wildcard (target , targets ):
369- project , version , loc , text = data [target ]
369+ data_target = data [target ]
370+ if hasattr (data_target , "project_name" ):
371+ # Sphinx >= 8.2
372+ project = data_target .project_name
373+ version = data_target .project_version
374+ loc = data_target .uri
375+ text = data_target .display_name
376+ else :
377+ project , version , loc , text = data_target
370378 yield (
371379 InvMatch (
372380 inv = inv_name ,
You can’t perform that action at this time.
0 commit comments