---
 doc/api/conf.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/doc/api/conf.py
+++ b/doc/api/conf.py
@@ -55,6 +55,6 @@ rst_epilog = '''
 import sphinx.writers.html
 del sphinx.writers.html.HTMLTranslator.visit_math
 def setup(app):
-    app.add_stylesheet('docutils-math.css')
+    app.add_css_file('docutils-math.css')
 
 # vim:ts=4 sts=4 sw=4 et