Skip to content

Commit e20511b

Browse files
authored
Fix config failure in sphinx 7.3 (#20)
1 parent 25c4482 commit e20511b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sphinx_tippy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from dataclasses import dataclass
99
from pathlib import Path
1010
from textwrap import dedent
11-
from typing import Any, Dict, Sequence, TypedDict, cast
11+
from typing import Any, Sequence, TypedDict, cast
1212
from uuid import uuid4
1313

1414
import requests
@@ -45,7 +45,7 @@ def setup(app: Sphinx):
4545
)
4646
app.add_config_value("tippy_anchor_parent_selector", "", "html")
4747

48-
app.add_config_value("tippy_custom_tips", {}, "html", Dict[str, str])
48+
app.add_config_value("tippy_custom_tips", {}, "html", (dict,))
4949
app.add_config_value(
5050
"tippy_tip_selector",
5151
"figure, table, img, p, aside, div.admonition, div.literal-block-wrapper",

0 commit comments

Comments
 (0)