diff options
author | Georg Brandl <georg@python.org> | 2010-10-30 16:47:05 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-30 16:47:05 +0000 |
commit | c62a19bca5b262ab46dbc7737157352805424f96 (patch) | |
tree | 71743620ddd9173c0661482cb0c04e971c5d541b /sphinx/builders/changes.py | |
parent | 65505907f1f09ccc2385d21758254f9516abb5de (diff) | |
download | sphinx-git-c62a19bca5b262ab46dbc7737157352805424f96.tar.gz |
Make Theme class usable without a builder object.
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r-- | sphinx/builders/changes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py index 980ed7606..488bc0374 100644 --- a/sphinx/builders/changes.py +++ b/sphinx/builders/changes.py @@ -30,7 +30,8 @@ class ChangesBuilder(Builder): def init(self): self.create_template_bridge() - Theme.init_themes(self) + Theme.init_themes(self.confdir, self.config.html_theme_path, + warn=self.warn) self.theme = Theme('default') self.templates.init(self, self.theme) |