mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
[Doc] Fix Sphinx.add_stylesheet deprecation (#13067)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user