Skip to content

Commit

Permalink
Reverts a change to support wide tables until we figure out how to ad…
Browse files Browse the repository at this point in the history
…d theme_overrides.css without overriding the entire theme when on remote RTD server

See:
readthedocs/readthedocs.org#2116
readthedocs/sphinx_rtd_theme#432
  • Loading branch information
benjaoming committed Aug 21, 2017
1 parent 3bf5676 commit 1e1fb2e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,16 @@ def setup(app):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

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

# This should be commented back in for wide tables
# See: https://github.com/rtfd/readthedocs.org/issues/2116
# and: https://github.com/rtfd/sphinx_rtd_theme/pull/432

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

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

0 comments on commit 1e1fb2e

Please sign in to comment.