From 9b7de5c98f4faf55e273a04c227d45d35a85b4cc Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 7 Jun 2016 13:54:40 +1200 Subject: [PATCH] docs: adjust theme override inclusion https://github.com/rtfd/readthedocs.org/issues/2116 --- docs/conf.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index bd51c4c5a..3ef0c63d3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -218,8 +218,5 @@ html_static_path = ['_static'] # Output file base name for HTML help builder. htmlhelp_basename = 'mitmproxydoc' -html_context = { - 'css_files': [ - '_static/theme_overrides.css', # overrides for wide tables in RTD theme - ], -} +def setup(app): + app.add_stylesheet('theme_overrides.css')