summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-30 16:47:05 +0000
committerGeorg Brandl <georg@python.org>2010-10-30 16:47:05 +0000
commitc62a19bca5b262ab46dbc7737157352805424f96 (patch)
tree71743620ddd9173c0661482cb0c04e971c5d541b /sphinx/builders/changes.py
parent65505907f1f09ccc2385d21758254f9516abb5de (diff)
downloadsphinx-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.py3
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)