[Doc] Fix Sphinx.add_stylesheet deprecation (#13067)

This commit is contained in:
Sumanth Ratna
2020-12-29 16:35:40 -08:00
committed by GitHub
parent eae7a1f433
commit 59e9b80903
+1 -1
View File
@@ -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)