Skip to content

Commit 05d1d8a

Browse files
authored
Fix the type hint for _load_additional_themes() (#12535)
1 parent 1cc9699 commit 05d1d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/theming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _load_builtin_themes(self) -> None:
179179
for name, theme in themes.items():
180180
self._themes[name] = theme
181181

182-
def _load_additional_themes(self, theme_paths: str) -> None:
182+
def _load_additional_themes(self, theme_paths: list[str]) -> None:
183183
"""Load additional themes placed at specified directories."""
184184
for theme_path in theme_paths:
185185
abs_theme_path = path.abspath(path.join(self._app.confdir, theme_path))

0 commit comments

Comments
 (0)