Skip to content

Commit

Permalink
Merge pull request #580 from mit-crpg/rtd-css-fix
Browse files Browse the repository at this point in the history
Fix CSS override for RTD documentation builds
  • Loading branch information
smharper committed Feb 1, 2016
2 parents 27ad128 + 55f5fa1 commit 6efefca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ def __getattr__(cls, name):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_context = {'css_files': ['_static/theme_overrides.css']}
def setup(app):
app.add_stylesheet('theme_overrides.css')

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down

0 comments on commit 6efefca

Please sign in to comment.