From 24ae4dd8068ba81e1f1cdd889c90d8561e6c98fd Mon Sep 17 00:00:00 2001 From: Joseph Nahmias Date: Tue, 2 Nov 2021 13:52:55 -0400 Subject: [PATCH] use add_css_file() instead of add_stylesheet() add_stylesheet() was deprecated in Sphinx 1.8.0, which was released on 2018-09-13. See: . --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 85ec73d..efa934c 100644 --- a/conf.py +++ b/conf.py @@ -181,8 +181,8 @@ def setup(app): #app.add_javascript("custom.js") - app.add_stylesheet("css/main.css") - app.add_stylesheet("css/pdf/ospdf.style") + app.add_css_file("css/main.css") + app.add_css_file("css/pdf/ospdf.style") # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied