summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-10 22:32:19 +0100
committerGeorg Brandl <georg@python.org>2009-01-10 22:32:19 +0100
commitb168c19de190a4b5bc1702ee66738c944bd8147d (patch)
tree6292e1939574d140e449f6a3a818af1cd35c2b1a /sphinx/builders/changes.py
parent9dd9bf651c5a2f17b4526171ecaa4fbdbf9c93e0 (diff)
downloadsphinx-b168c19de190a4b5bc1702ee66738c944bd8147d.tar.gz
Fix bugs in the template loader and the changes builder.
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index 6f057b49..d4520fa5 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -129,8 +129,12 @@ class ChangesBuilder(Builder):
f.write(self.templates.render('changes/rstsource.html', ctx))
finally:
f.close()
- shutil.copyfile(path.join(package_dir, 'static', 'default.css'),
+ shutil.copyfile(path.join(package_dir, 'themes', 'default',
+ 'static', 'default.css'),
path.join(self.outdir, 'default.css'))
+ shutil.copyfile(path.join(package_dir, 'themes', 'basic',
+ 'static', 'basic.css'),
+ path.join(self.outdir, 'basic.css'))
def hl(self, text, version):
text = escape(text)