diff --git a/docs/conf.py b/docs/conf.py
index 7ccef26..766b77d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,4 +27,4 @@ html_theme_options = {
 
 
 def setup(app):
-    app.add_stylesheet('style.css')
+    app.add_css_file('style.css')
