Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 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)
Ejemplo n.º 6
0
    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)
Ejemplo n.º 7
0
    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)
Ejemplo n.º 8
0
Archivo: html.py Proyecto: 89sos98/main
 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)
Ejemplo n.º 9
0
 def init(self):
     self.create_template_bridge()
     Theme.init_themes(self)
     self.theme = Theme('default')
     self.templates.init(self, self.theme)
Ejemplo n.º 10
0
 def load_additional_themes(self, paths):
     Theme.init_themes(self.app.confdir, paths)
Ejemplo n.º 11
0
 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)
Ejemplo n.º 12
0
 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)
Ejemplo n.º 13
0
 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)
Ejemplo n.º 14
0
 def init(self):
     self.create_template_bridge()
     Theme.init_themes(self)
     self.theme = Theme('default')
     self.templates.init(self, self.theme)