Skip to content

Commit 1e1fb2e

Browse files
committed
Reverts a change to support wide tables until we figure out how to add theme_overrides.css without overriding the entire theme when on remote RTD server
See: readthedocs/readthedocs.org#2116 readthedocs/sphinx_rtd_theme#432
1 parent 3bf5676 commit 1e1fb2e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/conf.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,16 @@ def setup(app):
214214
# so a file named "default.css" will overwrite the builtin "default.css".
215215
html_static_path = ['_static']
216216

217-
html_context = {
218-
'css_files': [
219-
'_static/theme_overrides.css', # override wide tables in RTD theme
220-
],
221-
}
217+
218+
# This should be commented back in for wide tables
219+
# See: https://github.com/rtfd/readthedocs.org/issues/2116
220+
# and: https://github.com/rtfd/sphinx_rtd_theme/pull/432
221+
222+
# html_context = {
223+
# 'css_files': [
224+
# '_static/theme_overrides.css', # override wide tables in RTD theme
225+
# ],
226+
# }
222227

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

0 commit comments

Comments
 (0)