Skip to content

Commit

Permalink
[Doc] Fix Sphinx.add_stylesheet deprecation (ray-project#13067)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthratna authored Dec 30, 2020
1 parent eae7a1f commit 59e9b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 59e9b80

Please sign in to comment.