diff --git a/sphinx/theming.py b/sphinx/theming.py index 7dcd2a16f4e..29571781ee4 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -179,7 +179,7 @@ def _load_builtin_themes(self) -> None: for name, theme in themes.items(): self._themes[name] = theme - def _load_additional_themes(self, theme_paths: str) -> None: + def _load_additional_themes(self, theme_paths: list[str]) -> None: """Load additional themes placed at specified directories.""" for theme_path in theme_paths: abs_theme_path = path.abspath(path.join(self._app.confdir, theme_path))