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 | 65e13df5a11f18db51df370baad97c921b483432 (patch) | |
tree | 6292e1939574d140e449f6a3a818af1cd35c2b1a /sphinx/builders/changes.py | |
parent | 11a7ed8c495cd416df2c6b4bd10ce71630ac0efc (diff) | |
download | sphinx-git-65e13df5a11f18db51df370baad97c921b483432.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 6f057b49d..d4520fa54 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) |