From 3b67ecfe307be7db19721f2a1ffeb9172c5d3049 Mon Sep 17 00:00:00 2001 From: bobturneruk Date: Fri, 17 Apr 2020 08:40:34 +0100 Subject: [PATCH] better syntax --- doc/source/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 28ea3264..5fe9be77 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -250,8 +250,9 @@ html_theme = 'sphinx_rtd_theme' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -def setup(app): - app.add_stylesheet('wide.css') +html_css_files = [ + 'wide.css', +] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied