diff options
author | Georg Brandl <georg@python.org> | 2009-01-10 22:32:19 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-10 22:32:19 +0100 |
commit | b168c19de190a4b5bc1702ee66738c944bd8147d (patch) | |
tree | 6292e1939574d140e449f6a3a818af1cd35c2b1a /sphinx/builders/changes.py | |
parent | 9dd9bf651c5a2f17b4526171ecaa4fbdbf9c93e0 (diff) | |
download | sphinx-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.py | 6 |
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) |