diff options
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 26126fb9c..edac70a99 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -800,6 +800,11 @@ class Sphinx(object): logger.debug('[app] adding environment collector: %r', collector) collector().enable(self) + def add_html_theme(self, name, theme_path): + # type: (unicode, unicode) -> None + logger.debug('[app] adding HTML theme: %r, %r', name, theme_path) + self.html_themes[name] = theme_path + class TemplateBridge(object): """ |