mirror of
https://github.com/wassname/ray.git
synced 2026-10-29 13:30:42 +08:00
[Doc] Fix Sphinx.add_stylesheet deprecation (#13067)
This commit is contained in:
1 parent
eae7a1f433
commit
59e9b80903
1 file changed
+1
-1
+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