From 59e9b80903c3e6a427ed5b89512f49d3bcc9829e Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Tue, 29 Dec 2020 19:35:40 -0500 Subject: [PATCH] [Doc] Fix Sphinx.add_stylesheet deprecation (#13067) --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 13f075b29..3a0ef1551 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -477,6 +477,6 @@ def update_context(app, pagename, templatename, context, doctree): def setup(app): app.connect('html-page-context', update_context) - app.add_stylesheet('css/custom.css') + app.add_css_file('css/custom.css') # Custom directives app.add_directive('customgalleryitem', CustomGalleryItemDirective)