Permalink
Browse files

Try and fix static file overwriting.

  • Loading branch information...
ericholscher committed Jan 30, 2011
1 parent 5e8c5a1 commit 594f6901650ab61a5425583422274d92b3c2788f
Showing with 3 additions and 3 deletions.
  1. +3 −3 doc_builder/backends/html.py
@@ -17,11 +17,11 @@
else:
templates_path = ['{{ template_path }}', 'templates', '_templates', '.templates']
-#Add RTD Static Path.
+#Add RTD Static Path. Add to the end because it overwrites previous files.
if 'html_static_path' in locals():
- html_static_path.insert(0, '{{ static_path }}')
+ html_static_path.append('{{ static_path }}')
else:
- html_static_path = ['{{ static_path }}', '_static']
+ html_static_path = ['_static', '{{ static_path }}']
#Add RTD CSS File only if they aren't overriding it already
using_rtd_theme = False

0 comments on commit 594f690

Please sign in to comment.