diff options
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r-- | sphinx/theming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py index b7fb652ac..aff381af4 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -155,7 +155,7 @@ class HTMLThemeFactory: def __init__(self, app: "Sphinx") -> None: self.app = app - self.themes = app.html_themes + self.themes = app.registry.html_themes self.load_builtin_themes() if getattr(app.config, 'html_theme_path', None): self.load_additional_themes(app.config.html_theme_path) |