Skip to content

Commit

Permalink
Stop using html_context as it breaks css on RTD. See readthedocs/read…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-roemer committed Jul 26, 2017
1 parent 943eeaa commit 3d71c92
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_context = {
'css_files': [
'_static/theme_overrides.css', # overrides for wide tables in RTD theme
],
}

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
Expand Down Expand Up @@ -254,3 +248,7 @@

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False


def setup(app):
app.add_stylesheet('theme_overrides.css')

0 comments on commit 3d71c92

Please sign in to comment.