def init_templates(self): Theme.init_themes(self) themename, themeoptions = self.get_theme_config() self.theme = Theme(themename) self.theme_options = themeoptions.copy() self.create_template_bridge() self.templates.init(self, self.theme)
def init(self): self.create_template_bridge() Theme.init_themes(self.confdir, self.config.html_theme_path, warn=self.warn) self.theme = Theme('default') self.templates.init(self, self.theme)
def init_templates(self): Theme.init_themes(self.confdir, self.config.html_theme_path, warn=self.warn) themename, themeoptions = self.get_theme_config() self.theme = Theme(themename) self.theme_options = themeoptions.copy() self.create_template_bridge() self.templates.init(self, self.theme)
def init(self): # type: () -> None self.create_template_bridge() Theme.init_themes(self.confdir, self.config.html_theme_path, warn=self.warn) self.theme = Theme('default') self.templates.init(self, self.theme)
def init_templates(self): Theme.init_themes(self.confdir, self.get_builtin_theme_dirs() + self.config.slide_theme_path, warn=self.warn) themename, themeoptions = self.get_theme_config() self.create_template_bridge() self._theme_stack = [] self._additional_themes = [] self.theme = self.theme_options = None self.apply_theme(themename, themeoptions)
def init_templates(self): Theme.init_themes(self) self.theme = Theme(self.config.html_theme) self.create_template_bridge() self.templates.init(self, self.theme)
def init(self): self.create_template_bridge() Theme.init_themes(self) self.theme = Theme('default') self.templates.init(self, self.theme)
def load_additional_themes(self, paths): Theme.init_themes(self.app.confdir, paths)
def init(self): # type: () -> None self.create_template_bridge() Theme.init_themes(self.confdir, self.config.html_theme_path) self.theme = Theme('default') self.templates.init(self, self.theme)
def init(self): self.create_template_bridge() Theme.init_themes(self.confdir, self.config.html_theme_path, warn=self.warn) self.theme = Theme("default") self.templates.init(self, self.theme)