예제 #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)
예제 #2
0
파일: changes.py 프로젝트: akhildp/newDoc
 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)
예제 #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)
예제 #4
0
파일: changes.py 프로젝트: JelteF/sphinx
 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)
예제 #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)
예제 #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)
예제 #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)
예제 #8
0
파일: html.py 프로젝트: 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)
예제 #9
0
파일: changes.py 프로젝트: 89sos98/main
 def init(self):
     self.create_template_bridge()
     Theme.init_themes(self)
     self.theme = Theme('default')
     self.templates.init(self, self.theme)
예제 #10
0
 def load_additional_themes(self, paths):
     Theme.init_themes(self.app.confdir, paths)
예제 #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)
예제 #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)
예제 #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)
예제 #14
0
 def init(self):
     self.create_template_bridge()
     Theme.init_themes(self)
     self.theme = Theme('default')
     self.templates.init(self, self.theme)