Skip to content

Commit 39e5fbf

Browse files
authored
Fix RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead (python#631)
1 parent 69d74a6 commit 39e5fbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@
237237
'\/.*',
238238
]
239239

240+
240241
# Use our custom CSS stylesheet to differentiate us from the official python
241242
# docs.
242243
def setup(app):
243-
app.add_stylesheet('custom.css')
244+
app.add_css_file('custom.css')

0 commit comments

Comments
 (0)