mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix the type hint for `_load_additional_themes()
` (#12535)
This commit is contained in:
parent
1cc9699b2d
commit
05d1d8aeb2
@ -179,7 +179,7 @@ class HTMLThemeFactory:
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user