From c8f4a18c7c193e06d849fe9e8468b0449e5b69f1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 10 Feb 2021 09:59:43 -0500 Subject: [PATCH] Use more modern way of including style sheet. Hopefully fixes deprecated add_stylesheet --- docs/conf.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9de7bd820..37ccd9d68 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,9 +15,6 @@ import sys import os -def setup(app): - app.add_stylesheet('zmstyle.css') - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -134,7 +131,9 @@ html_theme = 'default' # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -#html_style='zmstyles.css' + +html_css_files = [ 'zmstyle.css' ] + # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied