From b6c258c41f55590239e789131cae94ca3c28e119 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 2 Feb 2021 08:24:32 -0500 Subject: [PATCH] Revert "add_stylesheet is deprecated. Use add_css_file instead" Since we still use older sphinx we need to live with the deprecation warnings until we can figure out a way to support old and new. This reverts commit 84d9d363c90e83064a331b2f234eb01e05403b08. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 1fe423aad..9de7bd820 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ import sys import os def setup(app): - app.add_css_file('zmstyle.css') + 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