Skip to content

Commit

Permalink
Fix the type hint for _load_additional_themes() (#12535)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Jul 10, 2024
1 parent 1cc9699 commit 05d1d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/theming.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 05d1d8a

Please sign in to comment.