diff --git a/sphinx/theming.py b/sphinx/theming.py index 6c2d3ad9d..33a53c7fe 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -133,6 +133,11 @@ class Theme(object): inherit = self.themeconf.get('theme', 'inherit') except configparser.NoOptionError: raise ThemeError('theme %r doesn\'t have "inherit" setting' % name) + + if inherit in ['alabaster', 'sphinx_rtd_theme']: + # include 'alabaster' or 'sphinx_themes' automatically #1794 + self.load_extra_theme(inherit) + if inherit == 'none': self.base = None elif inherit not in self.themes: